system
Given the following post, respond as if you're commenting on Reddit:
human
[Harry Potter] If Voldemort is miles ahead of Harry in terms of magical combat ability, why did he struggle so much with Harry during their final battle?

Harry wasn’t a Horocrux anymore so Voldy had zero reason to hold back.
gpt
I don't know how the movie ended but in the book Harry explained in great detail how Dumbledore wanted Snape to kill him so he'd end up as the new master of the elder wand, and he did, but because Malfoy was the one who actually disarmed Dumbledore the wand recognized him as the one who bested his previous master and then Harry bested Malfoy and so the wand considered Harry to be its master. So Voldemort, for all his power, could only draw out a fraction of the wand's power, and against the wand's chosen owner that power was reduced even further.