Same as the question
halving will halve bitcoin block reward for miners, so this means that they will get 50% less money than they did before halving, so price will probably rise so miners could still mine
because if price wouldn't rise at all then miners will have to leave their jobs as this won't be profitable anymore, small miners that have cheap electricity will mine anyway though