That is a failure in quality control and oversight. Boeing has no one to fault but themselves for not demanding more of their suppliers.
Toyota and Apple manage to produce high-quality products at scale by holding their suppliers to a high standard of quality. Of course Airbus put this infrastructure in a long time ago and can now take advantage of cost savings from their supply chain. Boeing (apparently) can only be competitive by cutting corners.
So yes, it’s a lesson in how to do outsourcing poorly. Agreed.