If the dead person passed the test and answered truthfully, the Ibis-headed god Djehuti (Thoth) proclaimed that the dead person is "True of Voice" and can go on. Otherwise the heart of the deceased was thrown to the Goddess Ammit, who ate the heart and it would be as if the deceased had never been.
The dead person then proceeded to the Fields of Wasir and reached a land that was very much like Egypt itself, but in the heavens.