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

Noun
Desu Copula

The polite, past negative form of

1. Was not beneficial.; Was not advantageous.; Was not to one's profit.

Past/Perfective
Negative
Polite
Formal Register