さえよければ

if ... is okay

→ さえ
phrase Rare #39,083
if ... is okay さえ emphasizes that the named person or thing is the only condition that matters; often translated as “as long as ... is okay.”
JA: あなたさえよければ、ここで待つよ。
EN: If you're okay with it, I'll wait here.

目的さえよければどんな手段をとってもよいわけではない。

Just because the end is good doesn't mean any means are acceptable.

あなたさえよければ、私はかまいませんよ。

I'm fine with it as long as you're okay with it.

自分さえよければいいって考え方が一番嫌い。

I hate the mindset that it’s okay as long as you’re happy.

もし君さえよければ…

If you're okay with it...

— ラブ・アクチュアリー (2003)