You're wrong. Only those who have the will to live get to survive. He wished to die. He abandoned his will to live, clinging instead to a false hope. You did nothing wrong, Shinji.
Why, of all times, have I missed him at such a time?! ...... What am I going to do?