This is the second "law" of the dialectical materialism by Engels:
"The law of the passage of quantitative changes into qualitative changes"
According to Wikipedia it has its roots from ancient Greece https://en.wikipedia.org/wiki/Dialectical_materialism