True - how much someone is willing to pay matters. However in a competitive market, companies can’t just charge whatever people will pay. Competitors will undercut them, so prices should eventually align with the cost of production plus a reasonable margin.