When David was pure, and walking in the counsel of God, that God called him a man after his own heart. When David departed from God, and stained his virtuous character by his crimes, he was no longer a man after God’s own heart. God did not in the least degree justify him in his sins, but sent Nathan, his prophet, with dreadful denunciations to David because he had transgressed the commandment of the Lord. God shows his displeasure at David’s having a plurality of wives, by visiting him with judgments, and permitting evils to rise up against him from his own house. The terrible calamity that God permitted to come upon David, who, for his integrity, was once called a man after God’s own heart, is evidence to after generations that God would not justify any one in transgressing his commandments; but that he would surely punish the guilty, however righteous and favored of God they might once have been while they followed the Lord in purity of heart. When the righteous turn from their righteousness and do evil, their past righteousness will not save them from the wrath of a just and holy God.