This quote means that it is important to be able to love your friends for who they are and not just because the relationship brings you pleasure or benefit. The idea is that if we want to build a strong and meaningful friendship, we should be able to put our friends’ needs before our own and love them regardless of what we get from the relationship.