けんではありませんでした
kendewārimasendeshita

Noun
Desu Copula

The polite, past negative form of

1. It was not the item.; It wasn't the matter.

Past/Perfective
Negative
Polite
Formal Register