"When Pharaoh and his army came close". The word "Pharaoh" here represents the entire Egyptian army.
"the Israelites were terrified"