24 Whenever the Israelites saw the man, they all fled from him in great fear.

Read 1 Samuel 17:24 Using Other Translations

And all the men of Israel, when they saw the man, fled from him, and were sore afraid.
All the men of Israel, when they saw the man, fled from him and were much afraid.
As soon as the Israelite army saw him, they began to run away in fright.