וְאֶת־הַמִּשְׁתַּחֲוִ֥ים עַל־הַגַּגּ֖וֹת לִצְבָ֣א הַשָּׁמָ֑יִם וְאֶת־הַמִּֽשְׁתַּחֲוִים֙ הַנִּשְׁבָּעִ֣ים לַֽיהוָ֔ה וְהַנִּשְׁבָּעִ֖ים בְּמַלְכָּֽם׃
والساجدين على السطوح لجند السماء، والساجدين الحالفين بالأزلي والحالفين بملكهم.
Rashi
who swear by the Lord and go back and swear by their king, their pagan deity. They make the pagan deity the main one, saying, “If you do not believe the oath by God, I swear to you by the pagan deity.”