King James Version (KJV)
And there they burnt incense in all the high places, as {did} the heathen whom the LORD carried away before them; and wrought wicked things to provoke the LORD to anger:
Modern English
and there they burned incense in all the high places, as the nations whom Yahweh carried away before them did; and they did wicked things to provoke Yahweh to anger;
Hebrew
וַיְקַטְּרוּ־שָׁם֙ בְּכָל־בָּמ֔וֹת כַּגּוֹיִ֕ם אֲשֶׁר־הֶגְלָ֥ה יְהוָ֖ה מִפְּנֵיהֶ֑ם וַֽיַּעֲשׂוּ֙ דְּבָרִ֣ים רָעִ֔ים לְהַכְעִ֖יס אֶת־יְהוָֽה׃
vayqaṭrv-sham bkal-bamvot kagvoyim ʾasher-heglah yhvah mipneyhem vayaʿasv dbariym raʿiym lhakʿiys ʾet-yhvah