Kudos to you for sourcing your accusations that God is "petty and vindictive," as I asked earlier so I could properly form a response to them instead of just throwing out more out of context assumptions of the worst case.
Plagues of Egypt ring any bells? God wants the [font="sans-serif"]Pharaoh to release his Israelite slaves. Instead of just killing the Pharaoh, God has to prove how powerful he is and kills off the first born of everyone, all the way down to the slaves who had no part in the Israelite's slavery. Also, somehow omnipotent and omniscient God needs the Israelites to mark their door with lambs blood so he doesn't make any mistakes. Some versions even state that God reinforced the Pharaoh's will so that he would not give in prior to the final plague just so he could prove his penis is bigger than that of the Egyptian gods.