This Bible story is an example of the deep seated theist view that personal sacrifice is a good thing. Now we understand that the way we've evolved we need constant challenge and novelty because that's the way apes are, we get bored easily.
To translate that into the need to make our lives as hard as possible and give up our happiness for the sake of others or to appease a god is a misunderstanding of what we are.