I think that's a very outdated view. Wearing a suit has no bearing at all on quality of work, ability etc. In fact, lots of con men wear suits because they wrongly (or rightly) believe it gives them a more trustworthy look. When anyone can buy a cheap suit for under £100 from the likes of supermarkets etc, it really means nothing.
I'm an accountant and work with accountants, solicitors, etc., and it's very rare to see anyone wearing suits in their offices - smart casual is the new normal. In one firm of accountants, the staff were all wearing logo's polo shirts and hoodies!
I've not worn any formal workwear in my business since before Covid. My normal workwear is jeans with t shirt, polo shirt or hoodie. I can guarantee it makes not one iota as to how it reflects how I work. If it did, I'd be losing clients, which I'm not.
My son works in the HO of one of the UK's biggest insurance/pension firms in London as an actuary. His standard work attire is jeans and T shirt, or shorts and T shirt in Summer.
The days are long gone when having to wear a suit is important and it certainly doesn't impact on quality/professionalism of work.
I'd only be bothered if a professional, in a work environment, was wearing something scruffy, i.e. cargo pants with paint splashes, or something like a t shirt with an overly political logo or obscene logo etc.