1 verses of the Young's Literal Translation have both "stay" and "when".
Lamentations 3:26 Good! when one doth stay and stand still For the salvation of Jehovah.
In other translations: KJV WEB ASV Darby Webster DRC Geneva