This is a logical fallacy known as "false analogy". It is defined as: "an argument based upon an assumed similarity between two things, people, or situations when in fact the two things being compared are not similar in the manner invoked."
I disagree . . . the example given validates the analogy.
Egyptions . . . priests
Moses . . . priest
Egyptians . . . turn staffs into snakes
Moses . . . turns staff into snake
Added to that the entire scenario is played out in the same place, at the same time. How similar does it have to be?
The only difference lies in the belief that the Egyptians used "magic" and Moses used "God's power" When worshippers of the "true god" perform magic it's a "miracle by the power of God" . . . when anybody else does it's "magic"
To find the logical fallacy requires a well constructed confirmation bias.