They also built their own local shrines and stone images of foreign gods, and they set up sacred poles for worshipping the goddess Asherah on every hill and in the shade of large trees.