David was known as a man after Gods Heart. He knew that His Heart was in a continuous need of being made new. Guilt is a battle of the mind. It's because of the Cross and Resurrection we need not to worry any more.