Didn’t King Solomon of Israel sin in matters like this? There was not a king like him among many nations. He was loved by his God, and God made him king over all Israel, yet foreign women drew him into sin.
For David did what was right in the Lord’s sight, and he did not turn aside from anything he had commanded him all the days of his life, except in the matter of Uriah the Hethite.