2 Kings 23:16

16 Then Josiah looked around, and when he saw the tombs that were there on the hillside, he had the bones removed from them and burned on the altar to defile it, in accordance with the word of the LORD proclaimed by the man of God who foretold these things.

Read 2 Kings 23:16 Using Other Translations

And as Josiah turned himself, he spied the sepulchres that were there in the mount, and sent, and took the bones out of the sepulchres, and burned them upon the altar, and polluted it, according to the word of the LORD which the man of God proclaimed, who proclaimed these words.
And as Josiah turned, he saw the tombs there on the mount. And he sent and took the bones out of the tombs and burned them on the altar and defiled it, according to the word of the LORD that the man of God proclaimed, who had predicted these things.
Then Josiah turned around and noticed several tombs in the side of the hill. He ordered that the bones be brought out, and he burned them on the altar at Bethel to desecrate it. (This happened just as the LORD had promised through the man of God when Jeroboam stood beside the altar at the festival.) Then Josiah turned and looked up at the tomb of the man of God who had predicted these things.