みちではありませんでした
yorimichidewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 寄り道

1. Was not a detour.; Was not going out of my way.

Past/Perfective
Negative
Polite
Formal Register