C.s. Lewis said this quote

Friendship is unnecessary, like philosophy, like art.... It has no survival value; rather it is one of those things which give value to survival.