The religious belief of the Egyptians that helps explain the construction of the pyramids is: They believed in an afterlife in which the preservation of the body was important.
This belief drove the Egyptians to create elaborate burial structures, such as the pyramids, to ensure the deceased's body was preserved for the afterlife.