Boyfriend asked for a break

So I’ve been with my boyfriend for 8 months already and recently we’ve hit a rough patch. A month ago we took a break because he wasn’t happy with himself and now I’m stressing out because of school and my major for college and he cannot help me. Lately I’ve been really depressed and upset with my life and he is the only thing that makes me happy. He thinks that I need time for myself to figure things out and be happy with myself again but I can’t help but freak out and think that he is just getting tired of me. He said he still wants this relationship but that he wants me to work on myself and be happy first. What do I do?? I can’t stop thinking about him and I’m hurting without him. I feel like I’ve been relying too much on him for a distraction from my problems....