Need some advice

A few days ago I broke up with my ex after a lot of thought into it. We dated since last May so it wasn’t very long. What pushed me to the point of breaking up with him is that he wasn’t working and had no car so I was paying for most of the things and driving him around and it added a lot of stress and anger in our relationship. I tried helping him get a job and even offered to help him drive. He didn’t seem to try/: I miss him now and wonder if I made the right choice /: he didn’t cheat and do the things that most couples break up over so it’s hard for me to not miss him, I hope I did the right thing.