And the sea gave up the dead which were in it, and death and hades gave up the dead which were in them; and they were judged each according to their works: