Thank you for sharing P.E I totally relate to this too.
It's only recently through a year of counseling that my psychologist made me see that I was locked into this mindset of going out of my way to please people and hence people saw me as weak and just walked all over me.
I have spent my entire life thinking I wasn't good enough so I had to make up for it by going out of my way to make people like me. I had no confidence in myself yet somehow I could chat to strangers, go on the platform without nerves and put myself out of my comfort zone in many ways. But I felt so bad about myself and I'm sure people sensed that and could push me around and they did.
I'm sure it's a result of years or indoctrination where we are told we are never good enough and also for me, a family telling me how rubbish I was all the time.
The good news is I'm breaking free of it and beginning to like and accept myself for the first time in over 60 years. So, we can change if we need to.