King Joash allows idol worship (2 Chr 24:17-24:19)

“Now after the death of Jehoiada the officials of Judah came and did obeisance to King Joash. Then the king listened to them. They abandoned the house of Yahweh, the God of their ancestors. They served the sacred poles and the idols. Wrath came upon Judah and Jerusalem for their guilt. Nevertheless, God sent prophets among them to bring them back to Yahweh. These testified against them. However, they would not listen.”

This is not to found anywhere in the biblical literature, but is consistent with what was going on at that time. There was a continual return to the idols and the sacred poles since this must have been popular with people rather than the worship of Yahweh at the Temple of Jerusalem. However, Yahweh sent prophets to warn them, but they did not listen to his prophets.