Feeling unloved, the codependent tries to please others so that they will be liked or loved.
There is a purpose to the codependent’s helping others. They expect to be appreciated, even loved. If that doesn’t occur, they feel taken advantage of and develop resentments. Many times they don’t act on the resentments, just losing relationships because a perceived slight for something that was never asked for in the first place.