And the priest said, The sword of Goliath the Philistine, whom thou slewest in the valley of Elah, behold, it is here wrapped in a cloth behind the ephod… – 1 Samuel 21:9
David’s life was a series of dilemmas and deliverances. With what sort of face, think you, could he have invoked rescue from fresh perils, had he failed to recognise God’s help in past preservation? If, when flushed with victory, he had usurped the honor to himself, what assistance would he have received the next time he was curried with impending disaster? Or, had he not taught the Israelites in the hour of triumph to sing, “Not unto us, O Lord, not unto us, but unto Thy name give glory;” how could he have engaged their hearts in the hour of trial to wail forth the litany of supplication-“The Lord hear thee in the day of trouble; the name of the God of Jacob defend thee, send thee help from the sanctuary, and strengthen thee out of Zion.” Without consistency we cannot exert any moral influence with men or obtain any spiritual prevalence with God. May not many of our barren seasons be ascribed to the fact that we did not thank God for fruitful ones? “Give unto the Lord, O ye mighty, give unto the Lord glory and strength. Give unto the Lord the glory due unto His name;” else when most you need Him, you may find His strength is taken from you and your honors will have departed too. Hang up the shield, hang up the spear, let Jehovah’s name be exalted. Bring forth the forgotten memorials of lovingkindness, expose them to public view, put them before your own mind’s eye, gratefully remember them, lovingly praise Him and magnify His name…If we have any victories, let all the trophies be dedicated to the Lord. ~ C.H. Spurgeon
https://www.blueletterbible.org/Comm/spurgeon_charles/sermons/0972.cfm