This answer does not respond to subsequent edits to the question.This answer does not respond to subsequent edits to the question.
If you submitted a thesis with plagiarism, the typical consequence would be expulsion. You would not get a degree. The good news is you didn't submit it yet, so there might be no consequences.
Can you still change your thesis? You need to ask your supervisor.
You have admitted there was plagiarism in the draft. Stick to that. Just make sure there is no plagiarism in the final version. Your defense should that you did the wrong thing in the draft and have fixed it; the final version does not contain plagiarism. You will still look bad, but I think avoid punishment.
Health problems are never a defense against charges of plagiarism. Continue to get treatment from health professionals.