From David Brooks's insightful and important 15-point Humility Code for cultivating character:
1. We don’t live for happiness, we live for holiness. Day to day we seek out pleasure, but deep down, human beings are endowed with moral imagination. All human beings seek to lead lives not just of pleasure, but of purpose, righteousness, and virtue. As John Stuart Mill put it, people have a responsibility to become more moral over time. The best life is oriented around the increasing excellence of the soul and is nourished by moral joy, the quiet sense of gratitude and tranquillity that comes as a byproduct of successful moral struggle. The meaningful life is the same eternal thing, the combination of some set of ideals and some man or woman’s struggle for those ideals. Life is essentially a moral drama, not a hedonistic one.
[...]
3. Although we are flawed creatures, we are also splendidly endowed. We are divided within ourselves, both fearfully and wonderfully made. We do sin, but we also have the capacity to recognize sin, to feel ashamed of sin, and to overcome sin. We are both weak and strong, bound and free, blind and far-seeing. We thus have the capacity to struggle with ourselves. There is something heroic about a person in struggle with herself, strained on the rack of conscience, suffering torments, yet staying alive and growing stronger, sacrificing a worldly success for the sake of an inner victory.
Read more here – it's well worth it.