Jeremiah 28:15–17 (NRSV)
15And the prophet Jeremiah said to the prophet Hananiah, “Listen, Hananiah, the LORD has not sent you, and you made this people trust in a lie.
16Therefore thus says the LORD: I am going to send you off the face of the earth. Within this year you will be dead, because you have spoken rebellion against the LORD.”
17In that same year, in the seventh month, the prophet Hananiah died.
Hananiah was guilty of speaking a false prophecy. He told the people what they wanted to hear rather than what God had previously spoken through other prophets regarding the captivity by the Babylonians. The proof of prophecy is whether it comes true and false prophets were to be stoned because they claimed they were speaking for God. It was a serious violation because it discredited God and falsely claimed that God had spoken when he did not speak to the prophet. Jeremiah let God be the judge of the prophetic words of Hananiah. If they were true there would be peace as was predicted. However, God confirmed to Jeremiah that the prophecy was false and as punishment Hananiah would die because he led the people into more rebellion against God by rejecting the words of Jeremiah and others who prophesied the captivity of the Babylonians. The people were unwilling to accept the fact that their rebellion had caused God to place them in captivity. They were looking for an easy way out of the circumstances rather than obey what God had told them to do. Sinning against God has severe consequences, and unless there is true repentance the consequences will be experienced.