Generally speaking, the score of thesis and defense will not directly lead to your failure to graduate, but if the score is below the passing line, you may need to rewrite your thesis and defense until you meet the graduation requirements stipulated by the school and major.
Therefore, I suggest you check the training plans and relevant regulations of schools and majors to understand the graduation requirements and grading standards, so as to make better judgments and adjustments. At the same time, if you have any questions or puzzles, you'd better communicate with college teachers or counselors in time to seek help and guidance.