Here "lands" stands for the people who live in the lands. This can be stated in active form. AT: "When the people of [Egypt](rc://en/tw/dict/bible/names/egypt) and [Canaan](rc://en/tw/dict/bible/names/canaan) used up all their money" (See: [[rc://en/ta/man/translate/figs-metonymy]] and [[rc://en/ta/man/translate/figs-activepassive]])
The people used a question to emphasize how desperate they are to buy food. This question can be translated as a statement. AT: "Please, do not let us die because we have used up all of our money!" (See: [[rc://en/ta/man/translate/figs-rquestion]])