Similar meaning to "If it comes to that situation, then..." "집을 팔게돼면" => If you end up selling your house.