さえよければ

as long as ... is okay

→ さえ
phrase Rare #36,506
as long as ... is okay The pattern Xさえよければ means “as long as X is okay” or “if X alone is satisfactory.” さえ emphasizes that this is the only condition being considered.
JA: あなたさえよければ、週末に一緒に映画を見に行きたいです。
EN: If you're okay with it, I'd like to go see a movie together this weekend.

もしさえよければ

If you're okay with it...

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

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

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

自分さえよければそれでいいわけ

So as long as you're okay, that's all that matters, huh?

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

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