Futurama Episodes
Futurama Season 4, Episode 7 – A Pharaoh to Remember

Fry, Leela, and Bender have to deliver a giant sandstone to Osiris 4, a planet resembling ancient Egypt. Once there they are enslaved to work on pharaoh Hamenthotep’s pyramid. After the pharaoh dies, Bender tricks everyone into thinking that he’s the next prophesied pharaoh.
wikipedia.org summary:
Bender fears that nobody will remember him after he dies, and sees his chance for immortality when the crew is enslaved on the planet Osiris 4. Posing as the planet’s new pharaoh, Bender orders a humongous statue built in his honor, and quickly goes mad with power.
imdb.com summary:
Fry, Leela and Bender are enslaved on the planet of the original Egyptians to build a monument to the Pharaoh. When the Pharaoh dies, Bender rewrites prophecy to take his place, but keeps Fry and Leela as slaves to build an even bigger monument.

