предстояло

was going to have to, had ... ahead of one

p rʲ ɪ t͡s t ɐ j a ɫ ə → предстоять
пред beforehand; in advance + стоя stand, be standing + ло Neuter singular past
verb · singular neuter, past tense Rare #39,529
was going to have to, had ... ahead of one Often used with a dative pronoun, as in «мне предстояло» (“I had ... ahead of me”).
RU: Мне предстояло ещё долго ждать.
EN: I still had a long wait ahead of me.
Conjugation of предстоять
Indicative past
предстояло

Я всё время думал о той тёмной улице, где предстояло это сделать,..

I kept thinking about that dark street where it was going to be done...

— Двойная страховка (1944)

Похоже, мне предстояло провести в гостинице ещё какое-то время.

It looked like I was going to have to spend some more time at the hotel.

Мне предстояло видеть ещё такие сны, один за другим, примерно раз в неделю.

I was to have more dreams like that, one after another, about once a week.

Вторую ошибку исправить предстояло труднее.

The second error was going to be harder to fix.