を失っていた

had lost

→ を
phrase Rare #27,409
had lost The を marks what was lost; 失っていた describes a past state of having lost it.
JA: 彼女は自信を失っていた。
EN: She had lost confidence.

つまり、ロリカムにある私の金は、そこに置かれているあいだにも価値を失っていた。

In other words, my money in Loricum had been losing value the whole time it was sitting there.

教会への信頼を失っていた。

I had lost faith in the church.

— 教皇選挙 (2024)

みんな言葉を失っていた。

Everyone was left speechless.

彼は教会への信仰を失っていた。

He had lost his faith in the church.

— 教皇選挙 (2024)