Dumbledore gave Harry a main quest.
As an attempt to milk the franchise they decided to split this into two movies, which probably worked out better anyway because the books were so damn long. At the crux of the story is when Harry drops out of Hogwarts not to pursue his tech start up dreams, but to find and destroy the remaining Horcruxes. With no clue where to start or begin, he relies on Hermione who is the only one…