If you have Apple Care keep having them fix it until it is ok.
Sorry, you have a bad experience. No manufacturer is perfect (and I do not expect it).
It's how they deal with issues that matters.
In all my Apple user 32 years of course I also had issues: one bad iMac with a pink screen, had a backlight burn out in the next iMac after many years, an ethernet module died in a Mac Pro, a motherboard died in my 17" MBP, couple of more motherboards of my daughters and one of a business friend, the Duo dock stopped working, plus some minute hockey puck mouse cable connection shortening, power cords fraying.
In many of these cases it was after a lot of years and some of the issues prompted class action suits (which I don't like) . Most of the time I was able to fix them myself with online parts.
Sadly no longer possible with todays generation of glue and screw.
Since 1984 they have gotten much better at quality. I am not defending Apple when there are lemons, but on a percentage basis they may have less lemons than other companies. Would be interesting to know.
I have bought new, refurbs and on eBay.
I still have many of my older macs and they all work. Just became obsolete when Apple switched to Intel and Motorola chips no longer could keep up.