The people of God tend towards fear when sin enters the camp. The army of Israel was unable to stand because they had slowly shifted towards not trusting God. Saul was a big part of that shift.
The young man David however enters the scene fully trusting in God and makes all the difference in Israel.