I think 'I'm a people-pleaser' involves less self-delusion than 'I'm too nice'.
A people pleaser isn't actually 'nice' in the usual sense. She (because it's more usually a she) doesn't do things for other people from a free choice, out of generosity and kindness.
She does things for other people because she thinks saying no will make them dislike her, and in the belief that doing things for them will make people value her, because her self-esteem is too poor to think people will value her just for her company.
She's exchanging, in her head, services for friendship.
Which means that she often chooses people with problems and needs she can fulfil (childcare, lending money, lifts, an endless shoulder to cry on). Someone with no needs is no use to her because they don't 'need' her.
She is also often fuming with concealed resentment about 'not being appreciated' when the people she believes are her friends (because she has done things for them) don't reciprocate in kind, because she has presented herself to them as someone without needs, a human service animal. She often doesn't even like or respect these people she devotes herself to helping, but she turns herself into whatever they need anyway, and says 'My problem is I'm too nice, I'm surrounded by users.'.
And yes, absolutely it comes from a set of scripts she's absorbed in childhood, but after a certain point, as an adult, you need to learn that these beliefs are untrue, and holding you back from healthy, reciprocal friendships.
Or you don't, and you spend your life looking for people who 'need' you for what you can do for them.