If you do your research, there are usually some good 3rd party accessories made in every console generation. I think it's harder to tell these days, now that so many official controllers run into stick drift issues. It can probably be confusing to determine if issues are happening because of inferior quality materials, or if a 3rd party controller is running into issues because it generally uses the same sort of design as the official controllers.
the issue is that doing research isn't easy especially for controllers.
most reviews of controllers are extremely lackluster. I almost never see anyone actually test deadzones, reaction curves, how precise the stick detects specific movement angles, how well it recenters, doing good input lag lests, or if specific scenarios give it issues.
great example of this, the 8bitdo Ultimate controller for Xbox. at first glance an amazing controller with top tier build quality.
but, after using it I found more and more issues with it.
in some games it does not register/send specific stick angles correctly. it especially has issues in games that have axial slowdown, even if it's super minor slowdown, like in Resident Evil 8.
in games like RE8 diagonal inputs on the right stick will result in extremely slowed down camera movement that feels extremely jarring and can very negatively impact gameplay.
doing further tests on PC reveals that the sticks used in the 8bitdo controllers often have extremely low precision, and will start jittering between 2 angles instead of reading and sending the correct stick angle you are holding it in.
(and yes I did try to correct these issues by looking through and using the controller's app)
and it's stuff like that that I found in many controllers I tried. in cheap ones and in expensive ones.
with first party controllers you can at least be assured that games are specifically tested with those controllers in mind, and the console is designed with the signals and quality of that specific controller in mind.