In warfare, the presence of the Lord is with us when we submit ourselves to him.

The presence of God is with us, when we humble ourselves before him.

But this is what we will do to Gibeah: we will go up against it by the decision of the Lord;
Judges 20:9

Then all the children of Israel, and all the people, went up to Beth-el, weeping and waiting there before the Lord, going without food all day till evening, and offering burned offerings and peace-offerings before the Lord.
Judges 20:26