Explain that food and forage should be prepared before transferring troops. It is a metaphor to prepare in advance before doing something.
source
example
Related Baidu "The soldiers and horses have not moved, and the food and grass go first."