もとではありませんでした
motodewārimasendeshita

Noun
Desu Copula

The polite, past negative form of

1. Was not the basis.; Was not fundamental.; Was not the foundation.

Past/Perfective
Negative
Polite
Formal Register