Suicide is a serious subject.
(You probably didn't need me to tell you that.)
I've made 2 serious attempts both of which landed me in the psych wards of 2 different hospitals. And although I've always had lots of suicide-related thoughts if anyone had asked me, the day before each of my attempts, if I was in danger I'd have said no & meant it.
I can't tell you whether or not what you are experiencing warrants a hospital stay.
But what I feel I can tell you is that it's worth talking with someone about whether that be your therapist or pdoc, if you have one or both, or perhaps a family member... whomever you have in your life you feel comfortable talking with. My best wishes to you...