The Book of Jeremiah is primarily a message of judgment on Judah for rampant idolatry. In Jeremiah 7: 30 (KJV) it is written:
For the children of Judah have done evil in my sight, saith the LORD: they have set their abominations in the house which is called by my name, to pollute it.
After the death of King Josiah, the last righteous king, the nation of Judah had almost completely abandoned God and His commandments. Jeremiah compares Judah to a prostitute (Jeremiah 2:20; 3:1-3):