Judges 20:26

Then all the children of Israel and all the people went up,and came unto the house of God This looks as if the whole body of the army, with other people from parts adjacent, went up to the tabernacle of God in Shiloh:

and wept and sat there before the Lord; not only wept, but continued weeping, and that not merely for their defeat, but for their sins, since it follows:

and fasted that day until even; afflicted their bodies with fasting, which was a token of the humiliation of their souls for their sins:

and offered burnt offering's and peace offerings before the Lord, to make atonement for their sins, and to implore success on their arms.