To beat with a strap, lash or a rod, in punishment or to get to move or obey.
The pioneer used a whip to urge the horse forward.
The digraph is WH in 'whip', also seen in 'wherever' and 'when'.