You would kill all of humanity for 1 person?
...I hope not.
A few things.
1. She wasn't his daughter. She was his assignment.
2. Humanity was at risk. The needs of the many outweigh the needs of the few. Don't you Star Trek?
3. He had to lie to her. If his actions were noble, he could let her decide.
4. In saving Ellie, Joel killed several people. Doctors who were just doing their job. Who made the decision to do what was best for humanity. Joel killed them without hesitation.
Would I sacrifice my adopted daughter? I have a real daughter and, for the greater good, I'd sacrifice myself for them. If she grew up and joined the military, I'd respect her wishes and I'd understand why she would be willing to risk it all. I understand that Joel lost his real daughter at the beginning of the game and maybe he saw Ellie as someone who could fill the void but, in the end, he was selfish. He didn't even give "his child" an option.