People who you thought were friends will treat you poorly, they will show their true colours by behaving badly. You must walk away with your head held high, knowing that you did your best.
If everyone is happy with you, then surely you have made many compromises in your life. If you are happy with everyone, then surely you have ignored many faults of others.