Grammar › N3 · 05 Contrast, degree and extent
〜くらいなら: rather than; if it means
N3 · 05 Contrast, degree and extent
Says that you prefer the other option to the first bad one.
Verb dictionary form + くらいなら (ぐらいなら), followed by a preferred option. The first choice is something you really dislike.
Examples
あの人に頼むくらいなら、自分でやったほうがいい。
Rather than ask that person, I had better do it myself.
電車で二時間かかるくらいなら、引っ越したい。
If it takes two hours by train, I would rather move.