AITAH for prioritizing my post-surgery recovery needs over my husband's feelings?

I have a hysterectomy scheduled for mid-April, and one of the things my doctor told me is that I won’t be able to bend over or squat down for a week or two afterward. The problem is, my husband and I have been sleeping on a mattress on the floor since August. The mattress itself is completely caved in on all four sides.

When I got the call confirming my surgery date, I told my husband that once our tax return comes in, we need to buy a new bed and a proper frame. There’s no way I’ll be able to get up off the floor post-surgery. I also mentioned that a wedge pillow would be helpful for sitting up and that I’d need a compression thing for my belly to recover properly.

His reaction? He got pissed off and started blaming me for our financial situation, saying I’m the reason we can’t save money because I “always” find something to spend it on. I just put my hand up to stop him and said, “I really don’t care if you’re upset. We need the bed, and I need the compression thing for recovery.”

Then he called me a selfish bitch and said he was going to take my card from me because we don’t need any of this. I have my card memorized, so that’s not going to work for him.

I don’t even know what to do at this point. i feel like its a duh kinda thing that we need a new bed at this point.

i'm going to edit real quick cuz i keep getting this. we live with my dad right now, i lost my job because my pain made it extremely difficult to work. no i don't have a spending problem, i buy stuff our kids need like clothes for our growing toddler, or shoes for our active boys and stuff our 14 year old needs (my step daughter) the only time i buy stuff for myself is when i get gift cards from my dad for my birthday(september) or for christmas. my husband spends more than i do, $25 on beer whenever he gets the chance, concerts and bars with his brother and friends whenever they ask. i cant go out and do much anymore because of my pain. in the last month i went out once for lunch because my step daughter went to a mental health facility and i was so sad/upset that she was even there that i didn't even want to bother thinking of something to make so i got my comfort craving at the time, and the other day we got dinner because i was having a bad pain day and i forgot to start dinner in the crock pot(my husband was at work). i will admit that i used to go out and buy lunch a lot but that was when I had my job and we had the extra money for me to do so. but the second i lost my job i stopped doing anything like that.