Actually, some early pharaohs were buried with a (favorite) servant who could serve them in the afterlife. The servants were not buried alive, but were killed by a blow to the head. Later pharaohs were buried with doll representations of a servant or servants.