2nd Chronicles 20:17 says "Ye shall not need to fight in this battle:
set yourselves, stand ye still, and see the salvation of the Lord with
you, O Judah and Jerusalem:fear not, nor be dismayed; to morrow go out
against them: for the Lord will be with you.
To break this down all I can say is that if you give God praise before
you go to battle by the time you get to the battlefield the victory
will already be yours. We get to stuck on the situation that we forget
about the solution, and what we need to do is remember that the
solution is greater than the situation.