I'm reminded of a sign I saw that read,"You can't please everyone all the time, you're not a pizza." in front of a pizza place where I live.
I think worrying about pleasing other's come from unnecessary guilt and unobtainable expectations. You asked for an example, so I'll give the one between me and my dad. For a long time, I wanted to be 'the good son' and make my father pleased and proud of me, because I associated my own self worth with what he thought of me. He had and bullied me for years into his own expectations of me, which were actually expectations of himself; the wife, the kids, certain kind of job, house, etc. As the tide slowly turned and I grew my own expectations and self worth(values), I no longer needed his validation or approval of who I needed to be or what I needed to have.
Likewise, it helped me not to have expectations of him on how he should act towards me. I'm a natural born peacemaker, and I love helping others, but over time I've come to realize I need to help myself too. I'm not a one size fits all person, and that's ok, because I don't think I was ever meant to be.