Dunno what to do...

I have really bad anxiety and I just broke up with my partner because he's not at the same mental age as me he's such a beautiful person and I'm so in love with him but I can't be with someone who acts 10 years younger then what they are with being irresponsible and reckless.. I dunno if I've done the right thing or not 😢