Competition forces factory owners to mechanize production, so as to reduce labor costs, but while this is to the short-term advantage of the individual firm, the overall effect of such mechanization is actually to drive the overall rate of profit of all firms down.