He did what the Lord said was wrong. He did the hateful things the nations had done—the nations that the Lord had forced out of the land ahead of the Israelites.