I'd say the basic definition of an introvert is someone who prefers to be alone if given the choice. After enough hostile encounters, I learned to be wary of others. Perhaps I was being timid, or fragile, or extreme. Being on guard all the time is tiresome. In the Army, Peace Corps, stand-up comedy, and other experiences, I've proven to myself I can handle social situations, so I no longer seek them.
Better alone than with bad company, I like to say.
Proverbs 21:19
"Better to live in a desert than with a quarrelsome and nagging wife."
Being alone doesn't mean being lonely. It's a matter of pruning away or reducing relationships that don't add to your well-being.
In my case, I ran out of patience for dealing with people who annoy me, especially when it was deliberate. That's been a frequent problem whenever I've been in group settings.
Consider your wants and needs, then satisfy them with minimal human interaction. It's an extreme solution, but it's worked for me. And if you grow tired of living that way, you can always modify your habits.
Try to respect and get respect from all. If you can't get respect from someone, avoid them. If you can't avoid them, make them afraid of you. Let aposematism be your guide. In nature, living things use odd coloring and other visual clues to show would be predators they are not worth attacking or eating.
My favorite introvert and MGTOW song:
Technology has made it much easier for introverts to socialize in ways that are comfortable for them. It's good to take advantage of that.
No man is an island said Donne long ago, but today, you can be something like that without being a hermit.
It's best to think of every relationship as a Venn diagram where the overlap represents your mutual benefits and interests. If there's no overlap, don't deal with that person. When there is an overlap, respect your differences with them.
Remember that happiness is possible. Go placidly amidst the noise and the haste, as it says in the Desiderata.
If in a cynical mood, try the Deteriorata parody:
We are all flukes of the universe.