すればよかった

should have done; I wish I had done

→ 為る
phrase Rare #33,688
should have done; I wish I had done Expresses regret about not doing something in the past. The subject is often omitted. It consists of the conditional form すれば (do) and よかった (would have been good), but the whole expression is conventionally translated as “should have done.”
JA: もっと早くに出発すればよかった。
EN: I should have left earlier.

君はもっと健康に注意すればよかった

You should have taken better care of your health.

君は彼の計画を採用すればよかったのだ

You should have adopted his plan.

用心すればよかった

I should have been more careful.

— ミッション・クレオパトラ (2002)

もっと早く出発すればよかった

I should have left earlier.

別の男性と結婚すればよかったのになあ

I wish I had married a different man.