I notice that Psalm 21 that thanks are being given to the LORD for victory by the king. The battle was the LORD's, and He has triumphed valiantly.