David had great faith in the lord, we see this clearly in 1 Samuel 17:37 Moreover David said the Lord who delivered me from the paws of the line in the paws of the bear, He will deliver me from the hand of this philistine: David had look back to his pass and gave God the glory for his salvation from The Lion and the Bear ( see 1 Samuel 17:34-35)And held it true to his heart and had great faith from it.
Let us not be like the Israelites who have failed to see God’s good works behind them in numbers 14 Has he brought them out of Egypt to the promised land. they saw what was in front of them not seeing what God did behind them, the enemy used their blindness against them and took away the faith and courage. In Numbers 13:-32 By receiving a bad report And not holding on to their faith they lost the gift that God had waiting for them they had to wait on it till the next Generation due to a lack of faith ( numbers 14:22-24) 40 years in the wilderness Famous spend.
Now David, on the other hand, had a different heart and chose to see the good of God in his past and had great faith and courage so great that he ran towards Danger (See first 1 Samuel 17:48) and triumphant over the Philistine Giant and added to his own faith in the Lord. David had stepped out faith.
How important is your faith?
Matthew 21:22 whatever things you ask in prayer, believing, you will receive.