First of all, know that you aren't alone in your feelings, nurses have issues with anxiety/depression too. Don't be upset that you need medication to help you, at the end of the day, it is what it is, so many people take medication to help them go about their day, its nothing to be ashamed about.
Second, instead of quitting nursing, which we all know you work extremely hard for, can you explore other opportunities? Can you look around for long term facilities and do some time on a slow geriatric floor somewhere? even better, a dementia/Alzheimer's floor? yes, behaviors, but in my experience those floors can be a lot slower and easier to manage. It sounds like where you were working as you stated was a super busy floor and probably wasn't the best place for you to start. and thats OK.
I worked some time as a nursing supervisor at a rebab facility/LTC. Some new nurses would come in and want to jump right into the super busy rehab floor and end up getting super overwhelmed, then they would move to the long term or dementia side and do so much better. please, explore your options, doesn't hurt to go somewhere slow paced, even for a few months until you find your groove.
don't quit, it gets better, trust me!