It is true that reputation is one of the most important assets a brand can build. Because customers usually trust the brands that have strong reputation before deciding whether they wanted to use it or not. Having good reputation give people the confidence that they will receive good quality and services from them . That also applies not only to large companies like Amazon, Apple but also to the small businesses and individuals as well.
Reputation cannot be built at once and then taken for granted. It has to be maintained through your consistent honesty, good customer services, keeping promises with the customer . It is a possibility that a company can have good reputation for years and years but only one serious scandel or mistake can damage the trust of their customers for the rest of the time. If a business continuously deliver what they have promised they have gained the trust of the customer and they returns to them. That is why building strong reputation is very important then simply spending on advertising.
That is done by being a great company that doesn't really steal away from anything. You pay your workers well, you give them healthcare, you provide the customers with a great product, and you also do not charge a lot. If you do all of this and survive, then you are going to have a great reputation, of course. If you provide just cheap but not high quality, then people will say it is a shitty product; if you provide a great product but not cheap, then people will say there are cheaper alternatives. At the same time, if you somehow do manage to provide cheap but high quality, which is rare and doesn't happen often, then people will prefer you, but they will not respect you if you have bad working conditions, which you may or may not care about.
For example Amazon has a great service, let's be real they are the best in the world at what they do, amazing, but also they are making working conditions nearly a slave levels of working, and nobody likes them, they use them, because they have to, that's all they can afford, and that's all they can find. Which is why it makes sense to see quality and price as the most important ones, since if you can offer that to people, then they will turn a blind eye to everything else.