It depended on social status and rank.
The commander (or a general close to the pharaoh) could receive a share in the booty, a gift from the pharaoh, or a land allotment.
Mid-level commanders could get some gold or land if the pharaoh decided to reward them.
The most difficult situation was for ordinary soldiers. They risked themselves the most, and they got the least, if any, wages. Some pharaohs, however, paid very well their warriors, gifting them with gold, jewelry or lands.
One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.