King James Version (KJV)
Howbeit every nation made gods of their own, and put {them} in the houses of the high places which the Samaritans had made, every nation in their cities wherein they dwelt.
Modern English
However every nation made gods of their own, and put them in the houses of the high places which the Samaritans had made, every nation in their cities in which they lived.
Hebrew
וַיִּהְי֣וּ עֹשִׂ֔ים גּ֥וֹי גּ֖וֹי אֱלֹהָ֑יו וַיַּנִּ֣יחוּ ׀ בְּבֵ֣ית הַבָּמ֗וֹת אֲשֶׁ֤ר עָשׂוּ֙ הַשֹּׁ֣מְרֹנִ֔ים גּ֥וֹי גּוֹי֙ בְּעָ֣רֵיהֶ֔ם אֲשֶׁ֛ר הֵ֥ם יֹשְׁבִ֖ים שָֽׁם׃
vayihyv ʿoshiym gvoy gvoy ʾelohayv vayaniyḥv ׀ bbeyt habamvot ʾasher ʿasv hashomroniym gvoy gvoy bʿareyhem ʾasher hem yoshbiym sham