ついえではありませんでした
tsuiedewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 費え

1. Was not spent.; Was not cost.; Was not necessary.

Past/Perfective
Negative
Polite
Formal Register