かたではありませんでした
ikikatadewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 行き方

1. Was not the way to go.; It wasn't the method.

Past/Perfective
Negative
Polite
Formal Register