Bad result of using low-priced raw materials to win orders

In order to obtain orders, price wars become inevitable. The use of low price and low quality raw materials will lead to bad results. How to prevent bad money from driving out good money? Only stick to our bottom line.