The people of Judah, including those from Jerusalem, were exiled to faraway lands in Babylonia in 605, 597, and 586 BC. Babylon was about 1,700 kilometers (1,000 miles) from Jerusalem.
Shave yourselves: This was an act of mourning and despair (see also Jeremiah 41:5). It could also mean purification (Leviticus 14:7–10; Numbers 6:10–11).