Jon Snow was facing off with his biggest nemesis, The Night King . They're so close that he can look him in the eye. That is, after he takes down a few wights. Obviously, Jon was going to do as much damage as he could, especially after Night King slayed Dany's dragon, Viserion . It just so happened that it cost him.