Well actually in the Bible the story goes that satan says that job will one day stop worshipping god and give in so god said to do these brutal and sad things like make his children die and stuff and after all of it job kept believing in god and satan was proved wrong( sorry I typed this I learned that entire story for nothing)