Yep. In the book of Job God Himself makes a bet with Satan. Basically for bragging rights.
Also, the story focusses heavily on Job himself. Never mind his children and his servants who are ☠️horribly killed☠️! Job is alright though, and is rewarded with new children, new servants and new wealth. Hooray for him. His original children and servants are still dead though.