Depressed bf feels like he's not good enough...

I just wanted some insight into my situation. I've been with my bf for 2.5 years and he wanted to break up with me...kinda out of the blue. He's really down about his life lately (school and work and family issues). And he's been saying "I'm not good enough for you" , "you deserve better" , "I'll fix my life and come back to you" and that kind of stuff.

I wanted to support him and tell him I want to help him...but he doesn't want my support. He's pushing me away and he refuses to see me or talk to me. It makes it especially hard for me to just move on because he's saying things like "let's run away together" and "I know I'll regret this later" .

I don't want to feel like I'm "abandoning" him by removing myself from the situation...but I don't feel like it's good for me to keep talking to him. I keep getting my hopes up and then my heart broken over and over. Because every once in a while he'll message me (like this morning about his bad marks he got at school) and I get excited thinking he's ready to open up to me and come back to me like he said he would...but he's not.

Sorry for the long rambling post! Just wondered if anyone had any insight or positive thoughts for me. Tia ladies!