This is a popular HP fanon trope mainly (I think) conjured by young adults and teenagers who're trying to apply adult logic to a kids' movie.
Children -- Dumbledore/The Weasleys/Harry/Gryffindors are good, Voldemort/Slytherins are evil.
Adults -- same as above, and I won't try to read too much...