In the year 1400 BC, Prince Menkhairora, an Egyptian prince, made a trip to the pyramids of Giza, and then made a hunting trip, after which he slept under the shadow of the Great Sphinx. Because it tells the story of a dream that would change the course of Egyptian history.
The story says that the prophet slept in the shadow of the Great Sphinx in Giza, and there the young man dreamed that the Sphinx was in the form of the god Harmashis-Re-Atum, and promised him that he would become king if he removed the sand that covered his body, and he would unite Upper and Lower Egypt to become king over all of Egypt. That's according to the ancient-origins website
Menkhirora agreed to remove the sand and did so on the spot. In return, the Sphinx kept his promise, and Menkhairora went on to become king of both Upper and Lower Egypt, taking the name of Pharaoh Thutmose IV.
Thutmose IV was not chosen by his father Amenhotep II as his successor, but the promise of the Sphinx fulfilled his hope in his own way, and after he became king, Thutmose immediately began to work on a number of things, the first of which was that he changed the lineage of the palace so that his mother, who was called Tia, the "great royal wife" of the kingdom, and Thutmose removed more sand from around the Sphinx, and thus discovered that the lower parts were collapsing, so he repaired the Sphinx and commissioned the construction of the Obelisk of Dreams in memory of the dream that changed his life.