Josiah was eight years old when he became king, and he reigned in Jerusalem thirty-one years. His mother's name was Jedidah daughter of Adaiah; she was from Bozkath. He did what was right in the eyes of the LORD and followed completely the ways of his father David, not turning aside to the right or to the left. (2 Kings 22:1f; TNIV)
Nevertheless, the LORD did not turn away from the heat of his fierce anger, which burned against Judah because of all that Manasseh had done to arouse his anger. So the LORD said, "I will remove Judah also from my presence as I removed Israel, and I will reject Jerusalem, the city I chose, and this temple, about which I said, 'There shall my Name be.' (2 Kings 23:26f; TNIV)
The only hope is sheer grace.