The Bible says that David was a man "after God's own heart",...that's an amazing statement, given the number of sins the Bible accounts to him. But, when confronted with his transgressions, David honestly grieved and sincerely repented. He mended his ways and turned to God for mercy. God was merciful, and David's relationship with God was restored.
David said to Nathan, "I have sinned against the LORD." Nathan replied, "The LORD also has taken away your sin. You are not going to die."—2 Samuel 12:13 (NIV)
This gives us all hope for forgiveness,...hope for fellowship with God,...and hope that even we may also be called people after God's own heart. God doesn't require us to be perfect. He just asks for honest effort, genuine humility, and sincere repentance.
No matter what we've done,...we're never outside the reach of God's grace and mercy.
Thank You, God, for wonderful, undeserved grace that fills us with hope,...and releases us from guilt. Having been forgiven, we will seek to live more responsibly in the future. Amen.
"We have an open invitation to take everything to God, in prayer."