20 At this time Uriah son of Shemaiah from Kiriath-jearim was also prophesying for the Lord . And he predicted the same terrible disaster against the city and nation as Jeremiah did. 21 When King Jehoiakim and the army officers and officials heard what he was saying, the king sent someone to kill him. But Uriah heard about the plan and escaped in fear to Egypt. 22 Then King Jehoiakim sent Elnathan son of Acbor to Egypt along with several other men to capture Uriah. 23 They took him prisoner and brought him back to King Jehoiakim. The king then killed Uriah with a sword and had him buried in an unmarked grave.

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.