Hospital staff are jaded but that doesn't mean they don't care. The risk posed by covid is less than it once was due to increased immunity and reduced severity strains.
If you don't feel safe, by all means, leave, but if the reason you are there is for something serious, perhaps it is worth staying. I assume something more minor would not require a hospital stay.
We have had cokds and flus before covid. Hospital staff wore masks before covid when appropriate, like in surgery. They still do now. Not wearing a mask 24/7/when the pandemic phase has ended and its endemic is not unusual. Its a risk benefit assessment.
Most people have had covid multiple times. On an individual basis for most people, it is low risk, like lots of other illnesses. On a population basis its still a big killer, especially for those in high risk categories.
We shoukd consider the total of risk. If we all wear masks in all social settings and distance, will that be detrimental to kids development? Will that lead to poorer perceived health outcomes due to poorer communication between medical staff and patients, or between different medical staff? What is the risk increase if they mandate masks versus not wearing them when all the doctors and nurses go on buses, go to supermarkets, go to concerts etc. Population spread when its endemic is different to super spreading events when its novel.