because David did what was right in the sight 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.
Did not King Solomon of Israel sin on account of such women? Among the many nations there was no king like him, and he was beloved by his God, and God made him king over all Israel; nevertheless, foreign women made even him to sin.