David had done what was right in the sight of the Lord. He had kept all the Lord’s commands. He had obeyed them all the days of his life. But he hadn’t obeyed the Lord in the case of Uriah, the Hittite.
That’s how Solomon, the king of Israel, sinned. He married women from other nations. There wasn’t a king like him anywhere. His God loved him. In fact, God made him king over the whole nation of Israel. But even he was led into sin by women from other lands.