Did not Solomon king of Israel sin by these things? Yet there was no king like him among many nations, and he was beloved of his God, and God made him king over all Israel. Nevertheless foreign women caused even him to sin.
because David did that which was right in the eyes of LORD, and did not turn aside from anything that he commanded him all the days of his life, except only in the matter of Uriah the Hittite.