 They included both mortuary temples to serve the spirits of deceased pharaohs and temples dedicated to patron gods, although the distinction was blurred because divinity and kingship were so closely intertwined.The temples were not primarily intended as places for worship by the general populace, and the common people had a complex set of religious practices of their own.Instead, the state-run temples served as houses for the gods, in which physical images which served as their intermediaries were cared for and provided with offerings.