King James Version (KJV)
And they served their idols: which were a snare unto them.
Modern English
They served their idols, which became a snare to them.
Hebrew
וַיַּעַבְד֥וּ אֶת עֲצַבֵּיהֶ֑ם וַ֝יִּהְי֗וּ לָהֶ֥ם לְמוֹקֵֽשׁ׃
vayaʿabdv ʾet ʿaṣabeyhem vayihyv lahem lmvoqesh