You should not think of friends has as something to cherish in your life and always work to keep them in it. You do not get friends as a reward for your behavior or actions but rather through yourself working to learn about them and work to help each other. They should not be used to get you to someplace you want to go or to do something you want to do, but should just be a positive part of your life no matter what they can help with.
You must love your friends without condition because then they will return it. If you both want something from the other then it will be bad and result in not being friends.