20 Now there was also a man who prophesied in the name of the Lord, Urijah the son of Shemaiah of Kirjath Jearim, who prophesied against this city and against this land according to all the words of Jeremiah. 21 And when Jehoiakim the king, with all his mighty men and all the princes, heard his words, the king sought to put him to death; but when Urijah heard it, he was afraid and fled, and went to Egypt. 22 Then Jehoiakim the king sent men to Egypt: Elnathan the son of Achbor, and other men who went with him to Egypt. 23 And they brought Urijah from Egypt and brought him to Jehoiakim the king, who killed him with the sword and cast his dead body into the graves of the common people.
Matthew Henry's Commentary on Jeremiah 26:20-23
Commentary on Jeremiah 26:16-24
(Read Jeremiah 26:16-24)
When secure sinners are threatened with taking away the Spirit of God, and the kingdom of God, it is what is warranted from the word of God. Hezekiah who protected Micah, prospered. Did Jehoiakim, who slew Urijah, prosper? The examples of bad men, and the bad consequences of their sins, should deter from what is evil. Urijah was faithful in delivering his message, but faulty in leaving his work. And the Lord was pleased to permit him to lose his life, while Jeremiah was protected in danger. Those are safest who most simply trust in the Lord, whatever their outward circumstances may be; and that He has all men's hearts in his hands, encourages us to trust him in the way of duty. He will honour and recompense those who show kindness to such as are persecuted for his sake.