Khepri

[2] The name "Khepri" appeared in the Pyramid texts and usually included the scarab hieroglyph as a determinative or ideogram as a potential means to make any allusions to the god clear.

[3] Khepri is also mentioned in the Amduat, as the god is intrinsically linked to cycle of the sun and Ra's nightly journey through the Duat, the Egyptian underworld.

[6] Khepri (ḫprj) can also be spelled "Kheper", which is the Egyptian term used to denote the sun god, the scarab beetle, and the verbs "to come into existence" or "to be born".

[9] This mirrors the manner in which a scarab beetle pushes large balls of dung along the ground, highlighting the relationship made between Khepri and the insects.

Blue could have represented the sky or the heavens, the primordial flood, which also suggests that the color symbolized a cycle of life, death, and rebirth.

Khepri's most important role in ancient Egyptian religion is the integral part he plays in the life and death cycle of the sun.

[15] The Amduat is the nightly journey Ra, and by proxy the sun, takes through the underworld, as he is exhausted and aged from his day's work of moving the solar barque across the sky.

Hour six sees the solar barque of Ra reach the primordial waters of Nun, in which rests the corpse of Khepri surrounded by an enormous multi-headed snake.

In this hour, Khepri is at the helm of the solar barque, leading the vessel out of the underworld and, with the help of Shu, the god of air and winds, back into the sky, so that sun may once again bathe the world in its light.

A pectoral with three scarab beetles attached to a necklace. The jewelry was discovered in the tomb of Tutankhamun . The scarabs, which represent Khepri, are each pushing a sun.
The Third Tableau of the Book of Caverns, in which Khepri's corpse is shown in the bottom middle to be surrounded by a massive serpent.
The 12th Hour of the Amduat is depicted here, with Khepri in his scarab form seen at the helm of the solar barque.