Deuteronomy 12:2

12:2 You must by all means destroy all the places where the nations you are about to dispossess worship their gods – on the high mountains and hills and under every leafy tree.

Deuteronomy 17:3

17:3 by serving other gods and worshiping them – the sun, moon, or any other heavenly bodies which I have not permitted you to worship.