Why did Hashem issue the unusual command of dividing the spoil between the soldiers and the people?
Seforno: Since the battle was one of revenge on behalf of all of Yisrael, He wanted them all to receive part of the spoil. 1
See also Oznayim la'Torah.