Expresses preference to avoid something; 'rather than', 'if it comes to', 'if it's as...as.'
Long explanation:
The ~るくらいなら grammar point is used to indicate that the speaker would rather choose another option or avoid a situation rather than doing the action stated. This can be translated as 'rather than', 'if it comes to', or 'if it's as...as' in English.