'Warned' in the Bible
The king of Israel confirmed the matter about which the man of God had warned him. Having been forewarned, he was able to protect himself there on more than one or two occasions.
and they served idols, a practice that the LORD had warned them, "You are not to do this."
Nevertheless, the LORD had warned both Israel and Judah by means of every prophet and seer: "Turn away from your evil practices and keep my commandments and statutes according to the entire Law that I gave your ancestors and that I sent to you through my servants, the prophets."
They rejected the LORD's statutes, the covenant that he had made with their ancestors, and his warnings that he gave them. They pursued meaninglessness and became meaningless themselves as they followed the lifestyles of the nations that surrounded them, a practice that the LORD had warned them not to do.
until the LORD removed Israel from his presence, just as he had warned through all of his prophets who served him. So Israel was carried off into exile from their own land into Assyria, where they remain to this day.