Jon Bloom writes a great article on pride and self-interest using King David as an illustration.
We are never more vulnerable to sin than when we are successful, admired by others, and prosperous, as King David tragically discovered.