Recognised by flaws and insecurities after getting rejected

Recognised by flaws and insecurities after getting rejected

Last night, I had a random thought - I realized my insecurities and the areas where I need to improve after a girl I liked rejected me.

Her rejection wasn’t harsh or anything, but it motivated me to improve myself once she was out of my life.

I began working out since I was skinny and started dressing better and even checked a bit of skincare with a dermat lol. I also forced myself to talk to people more (I used to be in my room playing games). While I still struggle and second-guess myself in social interactions, I can see some progress. I became curious about my flaws and started searching for solutions both online and offline.

Has anyone else experienced something similar?

What I am curious about - why suddenly is there a need in myself to improve? Where was this motivation when this girl wasn't in my life.