The lesson we need to learn is that when everything was going David's way, he became vulnerable. Perhaps he believed the press reports about himself a little too much. Consequently he became lax in his relationship with God and became proud. Chuck Swindoll makes this pithy comment. Our most difficult times are not when things are going hard.
Hard times create dependent people.
You don't get proud when you're dependent on God. Survival keeps you humble. Pride happens when everything is swinging in your direction. When you've just received that promotion, when you look back and you can see an almost spotless record in the last number of months or years, when you're growing in prestige and fame and significance, that's the time to watch out . David is 50 years old, at home in Jerusalem, in bed while his troops are away at the battle.