Right Person, wrong time?🥺

I started dating my older sisters friend. In the last six-ish years we always made jokes about us dating, but never thought it would happen. A few months ago, I went over for a games night. We ended up playing hide and seek and we started flirting. We talked for over a month before he asked me out. After that, we would do everything together. Going swimming, watching our favourite tv shows/movies, spending time with my family, and just being together. He knew my family because of my sister but started to spend more time around them. He would say he's apart of my family and call my house his home. In the past week, I begin to realize he wasn't acting himself. He stopped complimenting me, sending dry messages, taking longer to reply, and not acting his normal self. This Monday we went over to my sisters for dinner and he was acting a bit better. He was giving me hugs, holding my hand, cuddling me while watching the hockey game, and random kisses. My sister and her boyfriend (his friends) said everything looked like it was going well. We were heading to my place after for a movie night and then we started talking. I know he's been struggling with his mental health, but I told him I would be there for him. He told me he needed to work on himself, before being in a relationship. He felt like he wasn't treating me, how I deserved to be treated. After we broke up, we stayed together to cry and be there for each other. I hated him for breaking up with me but felt I needed to hurt/heal with him. He said I'm the right person, but it's the wrong time. We both agreed we want to be in each other lives, and help each other out. I know he will need a support system while getting help, and I want to help him. It just hurts so FUCKING bad, I want to be with him so badly. My sister-in-law said ”I've never seen you so comfortable and yourself with anyone before...” and it's true. I feel a safe comfort whenever I'm around him. I'm just praying that he's the one for me. Idkkkkk what should I do??? Help.