Jeremiah 22:7
5 But, if you do not obey these commands, I solemnly swear that this palace will become a pile of rubble. I, the Lord, affirm it!”’ 6 “For the Lord says concerning the palace of the king of Judah,“‘This place looks like a veritable forest of Gilead to me. It is like the wooded heights of Lebanon in my eyes. But I swear that I will make it like a wilderness whose towns have all been deserted. 7 I will send men against it to destroy it with their axes and hatchets. They will hack up its fine cedar panels and columns and throw them into the fire. 8 “‘People from other nations will pass by this city. They will ask one another, “Why has the Lord done such a thing to this great city?” 9 The answer will come back, “It is because they broke their covenant with the Lord their God and worshiped and served other gods.”
Matthew 7:19
17 In the same way, every good tree bears good fruit, but the bad tree bears bad fruit. 18 A good tree is not able to bear bad fruit, nor a bad tree to bear good fruit. 19 Every tree that does not bear good fruit is cut down and thrown into the fire. 20 So then, you will recognize them by their fruit. 21 “Not everyone who says to me, ‘Lord, Lord,’ will enter into the kingdom of heaven—only the one who does the will of my Father in heaven.
Notes and References
"... In the context of the wicked king of Judah, Jeremiah 22:7 contains phrases that are used in Matthew in connection to judgment. Prophesying about the destruction of the palace in Jerusalem, Jeremiah said, “they will cut up your fine cedar beams and throw them into the fire”. The phrase is ἐμβαλοῦσιν εἰς τὸ πῦρ in the LXX, and one can immediately see the connection between this phrase and the ones used by John the Baptist and Jesus in Matthew in reference to judgment (Matthew 3:10; 7:19). The difference is that Matthew used the present passive βάλλεται, while the translators of the LXX chose to use the future active ἐμβαλοῦσιν. The Matthean term gives the reader the sense that judgment is already in process. The presence of this particular phrase demonstrates a shared judgment phraseology between Jeremiah, John the Baptist, and Jesus. Thus, the message of judgment on those who have not repented of their ways permeates the lives of Jeremiah, John, and Jesus ..."
Freeman, Justus A. Two Sermons: A Presentation of the Thematic Relationship Between the Temple Sermon of Jeremiah 7 and the Baptism Pericope of Matthew 3:7-10 (pp. 1-17) The American Journal of Biblical Theology, Vol. 21, No. 50, 2020