Nine-Tails, Captured!

is episode 165 of the Naruto Shippūden anime.

Synopsis
After the Preta path absorbed too much of Naruto's chakra, it turned him into a frog statue, Fukasaku and Shima were ready to use their genjutsu. The Deva path, sick of that genjutsu, uses Banshō Ten'in to pull him towards his Chakra Disruption Blade, and Naruto, being unable to stop him becomes enraged, but Pain pulls him towards the ground and stabs him, making him unable to move. After expressing their thoughts about peace, vengeance and justice, Pain asks Naruto how would he stop war and bring peace, to which Naruto said he didn't have the answer. Nagato explained he would create massive Tailed beast weapon, and with it he would destroy an entire country thus creating peace in the chain of hatred. Elsewhere, in his real hideout, Konan tells to Nagato not to force himself because he has already lost too much of his chakra.