I think Jet that the story is symbolic
At the time human sacrifice was practiced and often the first born was offered.
When God deceided not to take his son's life it was seen as a sign to end human sacrifice for the Jews