In Europe, how do hospitals make a profit if people can get healthcare for free, and doesn’t that make the hospital out of business if nobody pays?

Yesterday I was reading about a school district on strike in California and the Superintendent of the district said, “We can’t pay teachers any more. The district already…