がんではありませんでした
sogandewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 素願

1. Was not my wish.; Was not what I desired.; It wasn't my intention.

Past/Perfective
Negative
Polite
Formal Register