頑張 がんば ときではありませんでした
gambari tokidewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 頑張り時

1. It was not a time to try hard.; It wasn't the time to exert oneself.

Past/Perfective
Negative
Polite
Formal Register