The problem with the word quality is that most people use it as a substitute for strategy.
Quality is the result of meeting or exceeding the expectations of your customers on the attributes they happy to pay for.
This means you have to identify your customer base, figure out what’s important to them and then find out what it’s worth before you can deliver quality. Thus strategy defines quality.
McDonald’s provides quality in the form of convenience and price at the expense of freshness. Five Guys provides quality in the form of freshness at the expense of convenience and price.
Apple provides quality by focusing on hardware design and the ease of use of their proprietary ecosystems. Samsung provides quality by focusing on functional features like screen size and processor speed while providing access to a choice of third party ecosystems.
Quality is not a product attribute. It is the result of a successful strategy.