In order to turn around and do something better, we must first escape the vicious circle of self-righteousness and denial. And that calls for the humility to say "I'm sorry. Please forgive me."
Like humility, generosity comes from seeing that everything we have and everything we accomplish comes from God's grace and God's love for us . . . Certainly it is from experiencing this generosity of God and the generosity of those in our life that we learn gratitude and to be generous to others.
When the humility of someone is undermined, whether I like it or not mine is undermined as well.