It foreshadowed the sacrifice of Jesus, which in turn foreshadowed the fact that this "God" guy is a psychopath. Of course this should have been obvious from all the murdering he does. But the author wanted to be exceptionally clear: God is a sociopath incapable of compassion or empathy.
The whole tone of Church teaching in regard to woman is, to the last degree, contemptuous and degrading. - Elizabeth Cady Stanton