Pharaoh believed that Moses (peace be upon him) was threatening his kingdom. Pharaoh was afraid that the people would be misled by Moses. He suggested to his ministers and notable men that Moses be killed.
Almighty Allah revealed their dialogue in the Noble Qur'an Verses (26-45) from Surat Ghafir.