“For I will declare my iniquity; I will be in anguish over my sin” (Psalm 38:18 NKJV).

When God declared David a “man after my own heart” (Acts 13:22), it wasn’t because David was sinless. David had many shortcomings just as we all do. But David was quick to confess his sins. He shed real tears of repentance when he did wrong. He had an abiding desire to please God and do His will. It truly grieved David to sin against God. David’s heart was “loyal” (1 Kings 11:4) to the Lord.
 
Through Christ we can have our sins forgiven and our hearts made new. Yet, we still sometimes stumble into sin while living in this world. David’s habit of confession and repentance is still needed in our lives. As the apostle John wrote, “If we confess our sins, He is faithful and just to forgive us our sins and to cleanse us from all unrighteousness” (1 John 1:9).