Exodus 7:9mophet
"When Pharaoh speaks to you, saying, 'Work a miracle,' then you shall say to Aaron, 'Take your staff and throw {it} down before Pharaoh, {that} it may become a serpent.'"
Pharaoh demands a miracle; Aaron's staff becoming a serpent shows God's power.