Bad friends are best avoided completely, and you should be wary when you meet new people. Always make sure that you clearly understand the motivation of the other person before you form a bond of close friendship. Some people will try to make friends with you because they covet what you have. Others may seem nice but they may not be capable of true loyalty or legitimate closeness. A bad friend can cause devastation on a scale that even your enemies may not manage, because they are closer and know more of your secrets.
Some people will learn how to appreciate you by losing you. Go where you are celebrated not tolerated. If people treated you like an option, leave them like a choice. You're worth being loved and valued.