Breakup...kinda?

I had been seeing a guy for a few months and we were really happy and in love. The past weeks or so, I could feel himself distancing from me so we finally sat down and had a conversation about a week ago. He told me he doesn’t feel like he can be in a relationship right now because of his mental health and such but that he doesn’t want to lose me because he’s never felt like this about anyone. So we both decided to mutually break up. I really love him and would love to get back together with him even if it means I have to wait. When he left my place, he kissed me and told me he loved me and that he’d work on himself so we could be together. I guess I’m asking if anyone else has been in a similar situation or has any advice? I’m really torn up about it because I care about him so much and it upsets me to see him so sad and isolated.