めしではありませんでした
meshidewārimasendeshita

Noun
Desu Copula

The polite, past negative form of

1. It was not rice.; It wasn't rice.

Past/Perfective
Negative
Polite
Formal Register