Almost all pagans are pantheists.
Pagans who worship idols or humans are aware that the things they worship are not gods. But in their perverted pantheistic philosophy, they see what they worship as a reflection, a manifestation, a part of God. Thus, they fall into the trap of the devil. They think they are monotheists, but they are actually polytheists.
The fact that the pharaoh sees himself as a Lord is also the result of this pantheist philosophy. He thought of himself as the reflection, that is, the manifestation of God. Like all pantheists, he worshiped himself and the universe.
The Holy Qur'an clearly explains these facts. At the moment, the only real holy book we have is the Qur'an. On the other hand, the elites hiding the books like the Torah and gave the Fake Torah and false Bibles to the people(hadith books).