I want to reiterate what Mo said above - there is no universally prefered body type, and everyone has different preferences. I also believe that this feeling is temporary - you might be feeling this way now, but in different situations or times in your life, it is very likely you will feel attractive to others.
I also think that we are often our own harshest and meanest critics of our bodies. Relationships aren’t built entirely on looks. When I’m feeling down on my body and struggle to feel confident, I’ll try to remind myself of things my body does I appreciate (ie I’ll feel appreciative for my taste buds when eating chocolate, I’ll feel appreciative of my nose when smelling flowers). (If this doesn’t feel helpful, feel free to ignore).
If you want a cool resource on radical self love, check out this site!
https://thebodyisnotanapology.com/