I can relate to it. I had quite a hard time in my school days.
I underestimated my detest for rote memorization and my disinterest in medicine. I always felt STEM fit me much better.
Still, I finished it (well, barely, but I am a doctor, anyhow) and chose anesthesiology. I don’t still find it intellectually intriguing enough, but it is not bad, either. There are lots of medical fields. There should be a couple of specialties that you may find fitting, like biomedical engineering, pharmaceutical industry, preventive medicine, research-exclusive doctor, non-interactive fields like radiology, and so on.
If you were a 1st-grade student, I might consider recommending you to quit and choose a completely different field. But you are going to graduate soon. In my opinion, you are in a stage that you must think about your life from a practical perspective. If you drop out of it now, you would waste your time, money, and energy too much.
Brandon Back, studied Medicine
Source: Quora Digest