In Psalm 51, after confessing his sin against a holy God, David declares

in faith “a broken and contrite heart, O God, you will not despise.” 
Building on Faith is growing in our confidence that, when we turn from sin, God
will forgive and use us for His Kingdom. God used David to prepare for the
building of the Temple. Imagine what God will do through us if we confess and
turn from our sin!