where in the bible does it say not to have idols?
This is expressed in the Bible in Exodus 20:3, Matthew 4:10, Luke 4:8 and elsewhere, e.g.: Ye shall make you no idols nor graven image, neither rear you up a standing image, neither shall ye set up any image of stone in your land, to bow down unto it: for I am the Lord your God.