Feeling insecure 😔

Iv been feeling so insecure lately. It could be because i stopped having sex when i had been for a long time (with multiple guys but the last guy slept with my best friend too behind my back). Iv stopped leaving the house to hang out with people because i had to cut off some people i thought were good friends but turned out to backstab me. So i feel i have no guy, no good friends near me, and iv been feeing so insecure. Like there are so many pretty girls out there why would a guy want to be with me. Its weird because 1 month ago i felt so comfortable and confident in myself. I always knew i looked good. But for some reason, i don’t feel it anyone. It might also be because i have stopped straightening my now heat damaged hair and growing it out curly again, so its kinda curly but not quite and I’m insecure about it. Idk can anyone help? Or is anyone going through the same thing?