Moreover David was greatly distressed because the people spoke of stoning him, for all the people were embittered, each one because of his sons and his daughters. But David strengthened himself in the Lord his God. 1 Samuel 30:6 New American Standard Bible 1995 (NASB1995)
He who conceals his transgressions will not prosper, But whoever confesses and turns away from his sins will find compassion and mercy. Proverbs 28:13 Amplified Bible (AMP)
For we are his workmanship, created in Christ Jesus unto good works, which God hath before ordained that we should walk in them. Ephesians 2:10 King James Version (KJV)