Man I did the same thing with a girl in middle school. Small town and grew up super Christian so I was very much in the mindset of “meet someone and latch onto them forever.”
I was so weird and creepy to that girl. I cringed about it for a couple years and just powered through it in high school. Hated how I treated that girl, who I had nothing in common with and had zero interest in in high school. That self hatred in that moment I find healthy, because I NEVER treated another woman like that again, and did quite well romantically after that as a result of the new rules I set for my brain.
There is a use for shame and humility, learn from your mistakes and push forward. You might be a secret Casanova bro. Women love a man who has learned to not be like that. You can do it. Change isn’t easy, but you already know what not to do. USE THAT. Women appreciate that.
Don’t give up because of your age either. Lots of my friends in their 30’s are single and still have no problem dating. Lots of fish in the sea nowadays.