hey, little buddy. god didn't write that or for sure say it. someone wrote it in a book.
if you take a step back and realise this you can not take the bible so seriously and have a happier life.
or you can continue thinking like you do and sally forth with your frustration.