Answer:
It is significant in the context of his greater story because it shows he is his own person even with a piece of Voldemort living in him.
This is repeatedly a theme of Harry’s character. That he isn’t Voldemort because he makes different choices.
Rowling wanted it to be conveyed though in Harry’s character clearly that he could easily have been someone like Voldemort.
Harry could have easily chosen a path like that after discovering he had powers of Voldemort’s. He could have decided he wanted to be a dark wizard too.
The danger that Harry might eventually give in and go over to the dark side as it were is repeated at certain points throughout the Harry Potter book series, but mostly in the earlier installments