Harry Potter is unimaginably rich - he inherited loads of money from his parents. It’s why he can afford all the best kit in the first film.
And then, later on, Sirius Black showers him with gifts too, because he’s got loads of money.
There’s a little bit in the books about how bad Harry feels when he sees the Weasley’s poverty, but that’s it.