Deuteronomy 17:3

New International Version Bible (NIV)
and contrary to my command has worshiped 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