Honestly, when I lived in UAE I had to submit my passport to a centralized system that held the passports of people who worked in that commercial area. To this day I don't know if I had to legally give them my passport or if my employer simply encouraged me to do it and presented it to me as as if I didn't have a choice.
A few weeks ago I had to take a sick family member to the emergency room here in the US at 3AM because they vomited blood. All medical resources online said it could not wait till morning as it could be internal bleeding. They were given an X-ray, an external exam by a nurse and a doctor, and told that it was a mild adverse reaction to some common medication and to swap to something else. Nothing to worry about. Time from leaving home to back home was 75 minutes, tops. Bill was $3500. My employer only offers HDHP options so a lot of that is on me once the insurance company and hospital are done playing their stupid games.
I think all employers in UAE are required to provide health-insurance. Prior to that, everybody there legally had governmental healthcare, but that has changed as medical costs have risen private insurance has become an option.
Thankfully I have insurance and I work in tech. It hits my budget and stings, I can afford to pay it. But if I didn't have health insurance and had family in my home country who depended on me sending money every month, that bill would have wrecked my life.
I realize passports versus medical benefits is not a sensible comparison at all.
Nobody seems to write stories about how governmental treatment of migrant workers in UAE has improved a lot over the last 2 decades. There's tons of room to improve, but it has gotten better.