The group of people is traveling from the wilderness to Jerusalem. They must go up in order to reach Jerusalem because the wilderness is low in the Jordan valley and Jerusalem is high in the mountains.
The words "perfumed with" are understood from the previous phrase. They can be repeated here. Alternate translation: "perfumed with all the powders sold by merchants" or "and with the sweet smell of all the powders that merchants sell" (See: [[rc://en/ta/man/jit/figs-ellipsis]])