David was a godly man.
David was a man after God's own heart.
Acts 13:22
"I have found in David the son of Jesse a man after my heart, who will do all my will."
Summary of why David replaced Saul:
1 Samuel 13:14 (Samuel speaking to Saul)
But now your kingdom shall not continue. The LORD has sought out a man after his own heart (David), and the LORD has commanded him to be prince over his people, because you have not kept what the LORD commanded you."
Summary of David's life:
1 Kings 15:5
... David did what was right in the eyes of the LORD and did not turn aside from anything that he commanded him all the days of his life, except in the matter of Uriah the Hittite.
In the matter of Uriah the Hittite, David confessed his sin.
2 Samuel 12:13
David said to Nathan, "I have sinned against the LORD." And Nathan said to David, "The LORD also has put away your sin; you shall not die."
We do know David was a man after God's own heart,
and we do know that David was a godly man.
We do know that David had faults/problems.
However it is a dangerous thing to say that David was a godly man while he was in sin as a murderer/adulterer.
Such a statement would promote murder and adultery, which Jesus preaches against.
Matthew 5:21 "whoever murders will be liable to judgment."
Matthew 5:27 "You shall not commit adultery."
Summary:
A man after God's own heart is not a murderer/adulterer.
A man after God's own heart is likely to be:
1) a person who will do all his will
2) a person who will do what is right in the eyes of the LORD and not turn aside from anything God commands him all the days of his life.
(except in the case of ______)
But please notice what Nathan says after David confesses his sin.
"you shall not die."
Is Nathan speaking of the first death or the second death?
If the first death is physical death, and the second death is the lake of fire mentioned in Revelation 21:8.
If Nathan was speaking of the second death, the lake of fire, then David as a murderer/adulterer was in danger of going to the lake of fire before he confessed his sin.
If this is the case, we see that even David, a man after God's own heart, is not immune to the effects of sin, nor exempt from the consequences of sin.
Thanks be to God, that when we confess our sin,
we can expect such a reply
"The LORD also has put away your sin; you shall not die."
1 John 1:9
If we confess our sins, he is faithful and just to forgive us our sins and to cleanse us from all unrighteousness.
John 5:14
Afterward Jesus found him in the temple and said to him, "See, you are well! Sin no more, that nothing worse may happen to you."
John 8:10-11
Has no one condemned you?" She said, "No one, Lord." And Jesus said, "Neither do I condemn you; go, and from now on sin no more.
In light of this information that God is forgiving and full of grace, please consider the following verse:
Jude 1:4
For certain people have crept in unnoticed who long ago were designated for this condemnation, ungodly people, who pervert the grace of our God into sensuality and deny our only Master and Lord, Jesus Christ.
We know that David did not continue committing murder/adultery after the case of Uriah the Hittite. Let's be like David and put away our sins to serve the true and living God.