King James Version (KJV)
They feared the LORD, and served their own gods, after the manner of the nations whom they carried away from thence. {whom...: or, who carried them away from thence}
Modern English
They feared Yahweh, and also served their own gods, after the ways of the nations from among whom they had been carried away.
Hebrew
אֶת־יְהוָ֖ה הָי֣וּ יְרֵאִ֑ים וְאֶת־אֱלֹֽהֵיהֶם֙ הָי֣וּ עֹֽבְדִ֔ים כְּמִשְׁפַּט֙ הַגּוֹיִ֔ם אֲשֶׁר־הִגְל֥וּ אֹתָ֖ם מִשָּֽׁם׃
ʾet-yhvah hayv yreʾiym vʾet-ʾeloheyhem hayv ʿobdiym kmishpaṭ hagvoyim ʾasher-higlv ʾotam misham