The sea gave up the dead people who were in it, and death and its kingdom also gave up their dead. Then everyone was judged by what they had done.