2 Kings 23 19
Then Josiah demolished all the buildings at the pagan shrines in the towns of Samaria, just as he had done at Bethel. They had been built by the various kings of Israel and had made the Lord very angry.
Compare with other 3 random translations
YLT 2 Kings 23:19And also all the houses of the high places that are in the cities of Samaria, that the kings of Israel made to provoke to anger, hath Josiah turned aside, and doth to them according to all the deeds that he did in Beth-El.
NKJ 2 Kings 23:19Now Josiah also took away all the shrines of the high places that were in the cities of Samaria, which the kings of Israel had made to provoke the Lord to anger; and he did to them according to all the deeds he had done in Bethel.
NCV 2 Kings 23:19The kings of Israel had built temples for worshiping gods in the cities of Samaria, which had caused the Lord to be angry. Josiah removed all those temples and did the same things as he had done at Bethel.