Just curious how drowning a bunch of kids can be considered God's will

Even the simplest of societies used science (measuring, weighing, mixing etc.) so I find it extremely difficult to believe that you could survive wihout it.