Thinking of dropping the university with 4 exams left

Hi, I’m 25, i have 4 exams left to graduate, I’m at the edge of dropping out of university. I feel like I’ve wasted 5 years of my life trying to succeed something that each day seems further rather than closer. I’ve never had trouble understanding what was explained to me, I’ve always failed exams due to small mistakes, when they were written, or cause of anxiety when it was an oral exam. However I’ve always believed I could do it. Now I’m maxed out.

In 12h i have a quantum physics exam and honestly I don’t have any will whatsoever of taking this exam, I’m going in like “however this is going I don’t care”.

It’s like all the excitement i had when all of this started is long gone, i was used to study and read theories and be wondering what could connect each theory or what would they be implying. Now everything feels like memorising stuff and piling up bricks of knowledge.

Someone ever dealt with this?