can we just talk about this moment right here?
luke starts wailing on vader and then cuts his arm off and sees the wiring inside. he looks at his mechanical hand and then back to vader’s and then it all just comes together for him. luke was almost willing to kill vader in order to save his sister’s life (he only started really going at vader after he threatened leia, before that he continuously said ‘i will not fight you’) just like anakin was willing to slaughter all the jedi in order to save padme’s. they will both do anything to protect the ones they love.
once luke realizes this and all the pieces of the puzzle come together he turns to palaptine and throws his lightsaber aside and refuses to turn to the dark side and THEN says my favorite line in the whole series, “i ama jedi, like my father before me.” luke refuses to take the path vader did, he wants to be like anakin, not vader. he wants to be good and save his friends but he will not kill his father and join the emperor. he is willing to sacrifice himself for the ideal that he believes in and more importantly in the memory of who his father was.