He was tired of trusting God.

“And David said in his heart, ‘I shall now perish one day by the hand of Saul.’”
- 1 Samuel 27:1 (KJV)