This is Torquatus rather than Epicurus but might well be relevant. I think there are others.....
(1) Some have denied that pleasures affecting our friends are in themselves to be desired by us in the same degree as we desire our own pleasures. This doctrine is thought by some critics to undermine the foundations of friendship; however, its supporters defend their position, and in my opinion have no difficulty in making good their ground. They argue that friendship can no more be sundered from pleasure than can the virtues, which we have discussed already. A solitary, friendless life must be beset by secret dangers and alarms. Hence reason itself advises the acquisition of friends; their possession gives confidence, and a firmly rooted hope of winning pleasure. And just as hatred, jealousy, and contempt are hindrances to pleasure, so friendship is the most trustworthy preserver and also creator of pleasure alike for our friends and for ourselves. It affords us enjoyment in the present, and it inspires us with hopes for the near and distant future.