IV believed that the statue spoke to him, telling him he would become Pharaoh if he cleared the sand away.
He was led to believe that he would become Pharaoh after clearing the sand.
The statue told him that we would not become Pharaoh.