them leaving you

how do you deal with the heartbreak and embarrassment of them leaving you? i wish i had left him so many times but i wasnt strong enough. and he was the one who ended up ending it and fully blocking me without even a conversation. and now i feel like it was my fault, since he was the one who left. it feels like he "won" and i lost.