Deuteronomy 17:3

New International Version - UK Bible (NIVUK)
and contrary to my command has worshipped other gods, bowing down to them or to the sun or the moon or the stars in the sky,

Read Deuteronomy 17:3 in other translations