In chapter seventeen David was tested and approved in trusting God and defeating Goliath.
The armies of the Philistines and the men of Israel were assembled in array and were ready to engage in a war against one another (vv. 1-3). This was a test to both Saul and David.
A champion by the name of Goliath came forth from the camp of the Philistines to defy the armies of Israel (vv. 4-11, 16). Goliath was six cubits and a span tall.
Goliath was arrogant in his valor, in his kind of strength and power (vv. 8-10). In his arrogance he said, "I defy the ranks of Israel this day. Give me a man, and let us fight together" (v. 10).
When Saul and all Israel heard Goliath's words, they were dismayed and greatly afraid (v. 11).
Goliath's defying lasted forty days, morning and evening (v. 16).