I'd rather die than …
それをするくらいなら死んだほうがましだ。
I’d rather die than do that.
彼は毎朝早く起きるくらいなら死んだほうがましだ。
He’d rather die than get up early every morning.
そんなことするくらいなら死んだほうがましだ。
I'd rather die than do something like that.