Piramidy by Terry Pratchett

In a world where the ancient kingdom of Djelibeybi is steeped in tradition and ruled by the divine power of pyramids, a young prince named Teppic returns home after being educated in the modern city of Ankh-Morpork. As he ascends to the throne, Teppic finds himself entangled in the complexities of ancient customs, the mysterious power of the pyramids, and the peculiarities of his ancestors. With a blend of wit and satire, the story explores themes of tradition versus progress, the absurdity of bureaucracy, and the challenges of leadership in a world where the past holds sway over the present.