2 Kings 23:12

12 He pulled down the altars the kings of Judah had erected on the roof near the upper room of Ahaz, and the altars Manasseh had built in the two courts of the temple of the LORD. He removed them from there, smashed them to pieces and threw the rubble into the Kidron Valley.

Read 2 Kings 23:12 Using Other Translations

And the altars that were on the top of the upper chamber of Ahaz, which the kings of Judah had made, and the altars which Manasseh had made in the two courts of the house of the LORD, did the king beat down, and brake them down from thence, and cast the dust of them into the brook Kidron.
And the altars on the roof of the upper chamber of Ahaz, which the kings of Judah had made, and the altars that Manasseh had made in the two courts of the house of the LORD, he pulled down and broke in pieces and cast the dust of them into the brook Kidron.
Josiah tore down the altars that the kings of Judah had built on the palace roof above the upper room of Ahaz. The king destroyed the altars that Manasseh had built in the two courtyards of the LORD ’s Temple. He smashed them to bits and scattered the pieces in the Kidron Valley.

What does 2 Kings 23:12 mean?

John Gill's Exposition of the Bible
2 Kings 23:12

And the altars that were on the top of the upper chamber of
Ahaz, which the kings of Judah had made
Which were on the roof of the royal palace; the roofs of houses in Judah being flat, ( Deuteronomy 21:8 ) altars might be built upon them; so, in Arabia, altars were built on the tops of houses to offer incense thereon daily to the sun F16; as here by Manasseh and Amon very probably, which might be chosen because nearer the heavens; for which reason the Heathens made use of high places to worship in, see ( Jeremiah 19:13 ) ( 32:29 ) ( Zephaniah 1:5 )

and the altars which Manasseh had made in the two courts of the house
of the Lord;
( 2 Kings 21:5 )

did the king beat down;
ordered to be demolished:

and brake them down from thence, and cast the dust of them into the
brook Kidron;
that there might be no remains of them to be put to any superstitious use.


FOOTNOTES:

F16 Strabo, Geograph l. 16. p. 539.
California - Do Not Sell My Personal Information  California - CCPA Notice