I am sorry you have such a bad experience in Portugal regarding housing but it is not reflective of reality.
The only thing that is clearly worse as I mentioned is the insulation, but as I mentioned in other comments that is in part consequence of the weather and countries in northern Europe have the opposite problem in the summer.
Don't confuse your inability to pay for good housing with the entire country having shit housing.
I agree the public health system sucks compared to all the other countries I have been to. Good private sector clinics work much better though. I can also give a personal example, a few years ago I had an ACL tear and waited 3 months to even have an MRI in the public system, I gave up and got it done in a few days in a private clinic, got an appointment with a top orthopaedic surgeon in a week and a proposal to do an ACL reconstruction the next week.
I agree on the bureaucracy/corruption part and that it is not a country to earn money, it is a country to spend it (there is a reason why I and so many other Portuguese work abroad).