“I was also upright before him, and have kept myself from mine iniquity.”
Context:2 Samuel 22 is a chapter that contains a song of David, which he sang to the Lord on the day the Lord delivered him from the hand of all his enemies and from the hand of Saul. This song expresses David’s gratitude and praise to God for His faithfulness and deliverance. It is also found in Psalm 18, with some minor variations.
David’s Uprightness:In 2 Samuel 22:24, David declares that he was upright before God. The term “upright” refers to moral integrity, righteousness, and being blameless in the sight of God. David acknowledges that he had lived a life of righteousness and had walked in obedience to God’s commands.
Self-Control:The latter part of the verse says, “and have kept myself from mine iniquity.” Here, David speaks of his personal responsibility in avoiding sin and turning away from wrongdoing. It highlights his commitment to resist temptation and stay away from his own transgressions. David recognised the importance of self‑control and actively chose to steer clear of sinful behaviour.
Application:As we examine this verse, we can draw some practical lessons for our own lives:
- Pursuing righteousness:David’s statement reminds us of the importance of living an upright life before God. We should strive to align our actions, thoughts, and attitudes with God’s moral standards.
- Personal responsibility:David’s acknowledgement of keeping himself from his iniquity emphasises the role of personal responsibility in avoiding sin. We are called to actively resist temptation, making choices that honour God and promote righteousness.
- Trusting in God’s deliverance:David’s song in 2 Samuel 22 is a testimony of God’s deliverance. In the broader context, he acknowledges God’s faithfulness in protecting and rescuing him. We can take comfort in knowing that God is our ultimate deliverer and strength, and we can trust in Him during challenging times.
In summary, 2 Samuel 22:24 reflects David’s recognition of his upright living before God and his commitment to avoiding sin. As we apply this verse to our lives, we are encouraged to pursue righteousness, take personal responsibility in avoiding sin, and trust in God’s deliverance.

