What did the Egyptians do because they believed in an afterlife? A. They worshiped many gods, including the sun god Re. B. They settled along the Nile River and built irrigation canals. C. They constantly waged war against their neighbors. D. They built pyramids and sphinxes and mummified their dead pharaohs.