The sea gave up the dead who were in it. Death and Sheol gave up the dead who were in them. They were judged, each one according to his works.