David and the Philistines were endless enemies, and so when the Philistines heard that Israel had made David king, they went and made a raid on Israel (1 Chronicles 14:9).
Then David inquired of the Lord whether to attack the Philistines, and He gave His approval and promised victory (1 Chronicles 14:10). This was the result,
“So they went up to Baal Perazim, and David defeated them there. Then David said, ‘God has broken through my enemies by my hand like a breakthrough of water.’ Therefore they called the name of that place Baal Perazim” (1 Chronicles 14:11).
David sought God’s guidance, and after receiving it, gave God the glory. David wanted to glorify the God of Israel and no other god, leading him to do this, “And when they left their gods there, David gave a commandment, and they were burned with fire” (1 Chronicles 14:12).
Do you seek God’s counsel for the affairs of your life? If so, be sure to glorify Him when He helps you.