You're in your final year! You're so nearly there! You got through your first two years and you have made it this far and you should genuinely feel so proud of yourself. As stated above, if it really does feel like too much for you to handle right now, reach out and see if it's possible to suspend your studies until you feel like you are in a place where you can finish the degree. What I would really urge you to do is seek counselling, whether that's through your GP or through your university, and see what kind of student support is out there for you.
Despite what you choose to do, you should be so proud of yourself. University is no joke! I hope you figure it out. <3