For the people who believe that Dumbledore is the true villain of the story, I would like to point out a quote to you.
“By attempting to kill you, Voldemort himself signaled out the remarkable person who sits here in front of me, and gave him the tools for the job!”
This and many other quotes shows that Dumbledore truly cared for Harry and loved him.