couldn't help (doing something), couldn't be, couldn't remain, couldn't keep doing, couldn't help doing
私は泣かずにいられなかった。
I couldn't help crying.
その話を聞いて笑わないではいられなかった。
I couldn’t help laughing when I heard that story.
私はあのようなかわいい人形を買わずにいられなかった。
I couldn’t help buying such a cute doll.
彼があまりにも馬鹿げた振る舞いをしていたので私は怒らないでいられなかった。
He was behaving so ridiculously that I couldn't help getting angry.
もう眠くて眠くて、ほとんど目を開けていられなかったよ。
I was so sleepy that I could barely keep my eyes open.
私は気分が悪くて立っていられなかった。
I felt so sick that I couldn’t stand.