Down at the Heels

What does the idiom “down at the heels” mean?

Definition: shabby, poorly dressed, in poor condition

Example: I’m worried about Joe. He lost his job, and when I saw him yesterday he seemed down at the heels, disheveled.