A church is not a graveyard! A pyramid is not tomb!
In the modern Western World we would not maintain that a church and its associated graveyard as being strictly funerary, even though they are found in close proximity of one another and present similar images. Similarly, even though the structures within the pyramid complex might use some of the same images, concepts and themes, they may have performed different functions for the pharaoh throughout their lives and after their deaths. It is most likely that the Egyptians buried their dead in tombs, celebrated in their temples and used the great pyramids for their own directed purposes that we are still trying to fully understand."