うん次第 しだいではありませんでした
un shidaidewārimasendeshita

Noun
Desu Copula

The polite, past negative form of 運次第

1. Wasn't a matter of luck.; Wasn't up to chance.

Past/Perfective
Negative
Polite
Formal Register