If the number of miners increases, the network hashrate goes up. The effective block find time becomes lower than the preset value . As a result, the network gradually increases its difficulty, that is, the difficulty of a problem that miners are solving.