David is one of the leading figures in the Bible. He committed sins that most of us would not dream of doing. He committed adultery and then had the woman's husband killed.
However what David did after his sin was to seek God, not run from God. In Psalm 51 we see David asking God to forgive him. In verse 10, David asks:
David was a faithful servant of God, yet he committed terrible sins. God not only forgave, but ensured that the Messiah would come from the line of David.
When we sin, we shouldn't withdraw from God and give up. This is the time to move closer to God and ask Him to renew your spirit. The price for the sins you have committed, and will commit, has already been paid. We just need to ask God for forgiveness.
--Reggie Rodman, Pastor-In-Training @ Soul Purpose Community Church