Jeremiah was a prophet of God who was sent to warn the people of Jerusalem that the city would be conquered and destroyed by kings from the north if they did not change their idolatrous ways. Jeremiah became a prophet in his youth and carried out God's orders to tell his word to the people, but the people did not believe him, and his prophecy came to pass.
Jeremiah, who came from a priestly family, was the son of Hilkiah. When Jeremiah was a boy, God told him that he was selected before he was born to be a prophet of God's word. Jeremiah told God that he was too young to be a prophet, but God said he would protect Jeremiah from the people.
Jeremiah told people of Jerusalem that Jerusalem would fall to conquerors from the north if they did not listen to God's word. The people were hostile toward Jeremiah and did not heed his prophecy.
In 586 B.C., Jeremiah's prophecy came to pass when Nebuchadnezzar of Babylon conquered Jerusalem. The people then hated Jeremiah more because his warnings had come true, and he became reclusive to avoid the hostility.
When the Babylonians placed king Zedakiah in place as a puppet monarchy, Jeremiah warned Zedakiah against rebelling against Nebuchadnezzar and the Babylonians, but the king did not heed him. Jeremiah's prophecy again came to pass, and the city of Jerusalem and the Temple of Solomon were destroyed.
Because Jeremiah's prophecies about the invasion and the destruction of Jerusalem came true, he was even more hated by the people. He eventually fled to Egypt where he completed his book with his secretary.