Question: how did harry learn the sword of gryffindor could destroy horcruxes in the book?
Answer: Harry and Hermione are over the moon with what they've learned: the sword can destroy Horcruxes because it's impregnated with basilisk venom. ... Harry counters that they both knew what they were signing up for by coming with him, and that he told them everything that Dumbledore told him.