するんじゃなかった

I shouldn't have done it

→ 為る
phrase Uncommon #10,548
I shouldn't have done it Used to express regret about having done something. It follows the verb する and is informal.
JA: こんなことするんじゃなかった。
EN: I shouldn't have done this.

徹夜するんじゃなかった。

I shouldn't have stayed up all night.

お辞儀するんじゃなかったかな?

Wasn't I supposed to bow?

— ブレット・トレイン (2022)

あんなに早起きするんじゃなかった。

I shouldn't have gotten up that early.

昨日あんなに夜更かしするんじゃなかった。

I shouldn't have stayed up so late last night.

結婚なんかするんじゃなかった。

I never should have gotten married.

言う通りにするんじゃなかった

I shouldn't have done what you said.

— レベッカ (1940)