ordeal

Definition

A highly unpleasant and challenging experience that tests one's endurance or courage.

Example

"Recovering from the surgery was a long and painful ordeal."