@basedbinkie One answer I haven't seen is to ignore the spear and hide the knife. Hoping that he isn't already hostile you can bait him into being humanitarian. Once/if he takes off the helmet then you can strike with the knife.
In short: Pray he isn't already attacking, and is nice/stupid.