ではありませんでした
ukimedewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 憂き目

1. Was not unfortunate.; Was not in a bad situation.; Was not distressed.

Past/Perfective
Negative
Polite
Formal Register