Ex blaming me for breakup

My boyfriend of over a year said I didn't give him enough attention and that I made him feel like he wasn't good enough and that's why he broke up with me.. The first 4 months of our relationship I was with him as often as I could be (I have 2 boys from a previous relationship). I gave him all my time. I moved 40 minutes away in January because I could no longer afford my apartment (it was only 10 minutes from him) and so spending time with him became a little more difficult but I still tried while he didn't really make much of an effort to come spend time with me (spending at least 3 days a week together) Then in April I got into a car accident that totaled my vehicle and unfortunately the man who hit me didn't have Insurance so I haven't had a vehicle since then because I can't afford it and I'm waiting on my lawyers to do their thing so that's when spending time together became a once a week type of thing because of his work schedule and because I have been having to use my mother's vehicle. He literally blames me for me not showing him enough attention when I couldn't control the circumstances of what happened and he really make an effort to come see me because he said it was to far and he didn't explain further on how I made him feel he wasn't good enough for me.. He literally never said anything to me about how he felt on either of these things until now when we're broken up. I would have tried had he just talked to me. I'm so frustrated that he's blaming me for the split like he was the perfect boyfriend when he wasn't. How was I supposed to know he was unhappy if he didn't tell me he was. 🤷‍♀️

Maybe I was the bad guy here. I love him and this just has me feeling a mess.