The statement that best explains the construction of the pyramids in relation to Egyptian religious beliefs is:
They believed in an afterlife in which the preservation of the body was important.
This belief motivated the Egyptians to construct elaborate burial places, such as pyramids, to ensure that the deceased could be preserved for the afterlife.