Guys, Why am I unlovable?

I've been in love 3 times, and none of them ever loved me back.
Last November, I met a guy online.
We had almost everything in common. We loved the same shows, made eachother laugh, played video games, liked rock climbing, and we dated casually for a few months and it was great. I asked him, after about 3 months, if he just wanted to keep things casual--honestly it was fine if he did, I just wanted to know so I didn't invest too much emotional time into it or let my guard down. But he wanted to make it official and said he saw this having a future.
So I very carefully let down my guard little by little. Hed text me good morning every day, ask how my day was, he was always there to listen if I was ever stressed out or upset about something.
And i wa always there for him.
If help clean his home, or cook him dinner or. bring him lunch on those hard days at work. Scratch his back until he falls asleep and surprise him with a new video game I knew he'd been eyeing.
We never had an argument, not even a "we disagree but it's not worth fighting over" literally nothing ever came up, were both really go with the flow types.
It's 8 months into the relationship and out of the blue he just dumps me.
"My hearts just not in it." And it completely ripped me to shreds. He was the one that pursued me, he wanted us to be official, he asked me to stay with him, he knew my past relationship abuse and how hard it was for me to trust again
And he goes and does this "oh well I don't feeeeeel like it anymore"
What is wrong with me? Or with him?
What guy doesn't want a girlfriend who is loving, supportive, doting, makes you laugh, and shares all your interests and has drive for her own goals and future and can support you and herself if need be?
This has happened to me, over and over.
I see these nagging, spoiled, girls who have 0 in common with their man--they get anniversaries and gifts and love.
Why not me?
Ask me any follow up questions.
Guys, Why am I unlovable?
Post Opinion