@TwtsByAbnormal No, Dumbledore knew Harry will survive in book 4, When Voldemort took Harry’s blood, unknowingly took Lily's protective sacrifice inside himself.
"For a fleeting instant, Harry thought he saw a gleam of something like triumph in Dumbledore's eyes"