あく知恵 ちえではありませんでした
akuchiedewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 悪知恵

1. It was not malicious intent.; It wasn't done with ill intent.

Past/Perfective
Negative
Polite
Formal Register