Given the task definition and input, reply with output. In this task, you need to translate the given English sentence to the French language

What did the pharaohs believe would happen to them when they died?

Qu’est-ce que les pharaons croyaient qu’il leur arriverait à leur mort?