Matthew 10:26 Fear them not therefore: for there is nothing covered, that shall not be revealed; and hid, that shall not be known.
[Patriarchs & Prophets pp 722>723] Very many, reading the history of David's fall, have inquired, “Why has this record been made public? Why did God see fit to throw open to the world this dark passage in the life of one so highly honored of Heaven?” The prophet, in his reproof to David, had declared concerning his sin, “By this deed thou hast given great occasion to the enemies of the Lord to blaspheme.” Through successive generations infidels have pointed to the character of David, bearing this dark stain, and have exclaimed in triumph and derision, “This is the man after God's own heart!”
Thus a reproach has been brought upon religion, God and His word have been blasphemed, souls have been hardened in unbelief, and many, under a cloak of piety, have become bold in sin. But the history of David furnishes no countenance to sin. It was when he was walking in the counsel of God that he was called a man after God's own heart. When he sinned, this ceased to be true of him until by repentance he had returned to the Lord. The word of God plainly declares, “The thing that David had done was evil in the eyes of the Lord.” 2 Samuel 11:27, margin.
And the Lord said to David by the prophet, “Wherefore hast thou despised the commandment of the Lord, to do evil in His sight? ... Now therefore the sword shall never depart from thine house; because thou hast despised Me.” Though David repented of his sin and was forgiven and accepted by the Lord, he reaped the baleful harvest of the seed he himself had sown. The judgments upon him and upon his house testify to God's abhorrence of the sin.
2nd Samuel 12:13 And David said unto Nathan, I have sinned against the Lord. And Nathan said unto David, The Lord also hath put away thy sin; thou shalt not die. 14 Howbeit, because by this deed thou hast given great occasion to the enemies of the Lord to blaspheme, the child also that is born unto thee shall surely die.
May The Lord add His blessing to the study of His word. God bless!