He made that resolution back when Sasuke defeated Danzo. He told Sasuke then that if they fought they would both die. Well, the gauntlet's been thrown and that fight has finally come.
Let's see if Naruto follows through. Though I suspect TNJ will win out in the end.