wretched

Definition

Extremely unhappy, unfortunate, or miserable; also describes something of poor quality.

Example

"The refugees lived in wretched conditions."