Going through a breakup with no self worth

My (21f) boyfriend (21m) broke up with me a month ago but we only went no contact yesteday so it’s really only been hitting me the last few days that we will most likely never be together again.

We were only together for about 2 months but I was completely and wholly in love with him, I wanted us to be together forever and I was entirely committed to him. He broke up with me bc he was struggling with a drug addiction, and I fear I will not get over it. I have a very low sense of self worth and before I got into the relationship I told myself I wouldn’t get into another one until I find more confidence and stability inside myself, but then I fell in love for the first time. He is my first love but I placed all my happiness on him. I’d never experienced such joy and happiness than when I was with them, even in the moments I felt that there was a sense of fear underneath it bc I thought what would happen if we weren’t together. He seems like he’s doing better regarding the drug addiction AND healing from the breakup, it seems like he’s already in the acceptance phase of it, he says he cherishes the memories we’ve had together and that I 100% deserve the best and he feels a lot of guilt and shame over ending it because he sees he had something that should have been perfect for him, but that he’s also not letting the breakup stop him from going out and he just “thinks about it on the side when he needs to.” Which was hard to hear because I feel like all I can do is think about the breakup, it follows me around and everything i do reminds me of him.

I don’t know how to get through this and become a better person, I feel like this heartbreak will only damage me more, any advice on how to handle it? And I don’t know how to stop thinking about how HES handling it. I have anxious attachment style and very low self confidence. Thank you guys.