There is a strong correlation between price and sound quality, but it's definitely not 100%. Many lower priced components outperform similar more expensive components. It's worth noting that price is always influenced by factors such as mark up, labor costs, shipping, taxes/tariffs etc. so a higher price does not automatically mean a better design and better components.
In addition, "sound quality" is rather vague as it is subjective, and that also plays into this.
That said, those who claim their $2 flex sounds the same as a $2,000 cable is either totally disingenuous and/or deaf, and that is why you will see the same tiresome individuals making such claims. What's notable about their claims as they never explain their findings in terms of listening to the cables, but always in the context of their 4th grade understanding of science and psychology.