Bitcoin halving is necessary due to the limited amount of coins. The miners do not earn the same amount when the block reward fails to increase.