In Pharaoh's time, magic was advanced technology. The idea that court magicians could manipulate the gods gave them a sense of power and contempt for the common folk. That attitude is prevalent today.