When something breaks inside you, know that it is for something better. Whenever something disintegrates new components are formed. Similarly, when you lose love, trust or hope in people, try to distance yourself from dunya a bit. Accept the fact that in fact all expectations should be associated with Allah subhan wa ta’la alone. Let the hurt take over. Let the false ties break. Establish a new relationship, the everlasting one … with your Creator. Make new friendships, with people who love you for the sake of Allah and whom you can claim to love for the sake of Him alone.
You will realize that the hurt was temporary, that you were made to fall to reach new heights of emaan. You were lead to be broken to mend your relationship with Allah. Your expectations were failed, so you could love people without expectations, only for the sake of Allah Subhanahu wa Ta’ala.
Have complete Tawakkal in Allah. He only intends to take something away from you to replace it with something He knows is better for you, but only if you have faith.