The kids who are able to set boundaries, say no, respond etc are more likely to stop whole dynamic even before it starts.
Sometimes coping with issues is just learning to ignore them, you must learn that even though you feel hurt there it is not worth putting energy into dealing with what people say and do.
People forget that 50% of the people on the planet are below average, its best to remember that when you're dealing with life. You can't expect these people to have reasoning and logic skills, emotional resilience or even base levels of compassion.
"Toughen up princess" can frequently be the best advice you can give someone.
Which is why our problems now are so much bigger, since our complaining became so much louder.