Self-pity was the quality of being sorry for oneself with sorrow and pity.
In 2268, while convincing Ensign David Garrovick to eat his dinner, Nurse Chapel reminded him that self-pity was a terrible first course. (TOS: "Obsession")