I think it’s more complex than that though.
You don’t need to be an awful person in the workplace to get ahead, but yes if you seem overly eager to please and compliant, it does seem human nature is for that often to be exploited. But being a people pleaser isn’t necessarily kindness anyway.
I’ve learnt to keep on being myself - smiley and generally amiable - but I do have an edge in that if I start seeing any disrespect or rude behaviour or potential for bullying towards me in a workplace I’ll challenge it. I’ve had to grin and bear some things in the past in the short term but at this point of my life I am not willing to let people get comfortable with disrespecting me in the workplace or in my personal life.
Similarly, in friendships I’ve had a few friends take advantage of my giving nature and have rarely reciprocated. Eg. For my 30th an old childhood friend who used to call me her best friend got me nothing. Not even a card. For her 30th the next year I sent her £300 to travel to another part of the UK with her kids to see her family who she missed.
The birthday is just one example but the whole dynamic of our friendship has meant I’m the one who has been giving to her since childhood , and she’s become entitled to taking. Shes not abusive or meanspirited but she definitely has taken advantage.
However, I had to give my head a wobble, and take accountability for having been such a people pleaser and entertaining such one-sided friendships and pull back on a lot of things in a few friendships.
I think the issue is if you let people take advantage of you and treat you badly in any context, they eventually develop a lack of respect for you because they sense that you don’t respect or love yourself.
In my personal life, being a people oleaser has made me a target for abusers
Being “nice” shouldn’t mean being a doormat or a people pleaser. And if that’s what it means to someone , it signals they need to do some work on themselves.
I’ve read somewhere that abusers will try their luck with more or less everyone that crosses their path , the issue is more that it’s the people pleasers/ low self esteem people who entertain them so they stick around with those people.
So don’t ask yourself why you’ve been targeted, ask yourself why you’ve tolerated it.