I don't think Luke realized that both sides are equivalent in terms of potential evil-ness, rather, he realized that people can change. Anakin made the decision to join the dark side, and he can make the decision to leave it. You aren't "born" into it; it isn't innate. I believe that's the subject out of the entire Star Wars series.