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 sought to prepare their genjutsu. The Deva Path, wary of their ploy, uses Banshō Ten'in to pull Fukasaku towards his Chakra Disruption Blade and mortally stabs him. Naruto was visibly enraged, but Pain pulls him towards the ground and stabs him with multiple blades, immobilizing him. After exchanging 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 that he would create a weapon from the massive chakra of the tailed beasts, for the purpose of destroying an entire country. The aftermath of its horrific usage is intended to create periods of peace within the endless chain of hatred. Elsewhere, in his real hideout, Konan asks Nagato not to force himself because he has already lost too much of his chakra.