Friendship for the good

“What is the friendship for the good and what is the good that the friends get from it?”