"'"One who is far away will die of the plague, and one who is near will fall by the sword, and anyone who survives and is spared will die of famine. So will I pour out my wrath on them."'" NIV translation
The judgment was to be on all of the people in all of the kingdom.
"'"And they will know that I am the Lord, when their people lie slain among their idols around their altars, on every high hill and on all the mountaintops, under every spreading tree and every lofty oak - places where they offered fragrant incense to all their idols."'" NIV translation
Once again, the purpose of the judgment is so that the remnant will understand that it is God that is in control. The dead are at the places where they committed their idolatry as they turned to their false leaders to save them from God's wrath.
"'"And I will stretch out my hand against them and make the land a desolate waste from the desert to Diblah - wherever they live. Then they will know that I am the Lord."'" NIV translation
The ground itself is judged and once again it is so that the remnant will see that God is in control.