The Lord did not condemn David. He condemned himself, first by his sin and then by his guilt. This is an aspect of the `knowledge of good and evil` which awakened our conscience.

It has always been the Lord`s heart to deal with us by His Grace.

At this point David was not in faith but fear. We are justified by faith in the love, mercy and grace of the Lord Jesus Christ.