If it were me, I'd do it like this:
The guy tried to stab me, but I anticipated the action and pivoted to the side, narrowly avoiding the sharp blade. Not wanting to waste the momentum, I acted quickly and grabbed ahold of his wrist. Now in control of his arm I pushed his hand up and away...