The primary goal of defending in rugby is to prevent the opposing team from scoring points by maintaining a strong defensive structure, making effective tackles, and forcing turnovers. It requires teamwork, discipline, and adaptability to counter the various attacking strategies employed by the opposition.