Egyptian pharaohs were considered children of Ra (Egyptian sun god) and, thus, their dreams were seen as being divine.
https://youtu.be/KrM1hxT2228