They also built stone images of foreign gods and set up sacred poles for the worship of Asherah on every hill and under every shady tree.