“the day of visitation.” No specific day is mentioned; the reference is general. It refers to a time when trouble comes and only God could really help but the people have forsaken Him. The “day of visitation” also includes Judgment Day, even though that is not the primary focus here.
“Where will you leave your wealth?” The greedy, evil rulers had enacted laws that allowed them to get rich by taking advantage of the poor and needy. But what will they do in the day that God punishes them, and what will they do with their wealth then? They will pay a terrible price for their evil deeds.