Many times they did evil things, to find out if they could do those things without God punishing them. They frequently caused the holy God of Israel to become disgusted/sad.