Of course Lucas has said a lot, and much of it contradictory, so I could certainly be wrong.
Almost. Anakin/Anniken's "Attachment" (his possessive obsession with Padme, which he mistakes for love) led to his downfall. Luke's Connection (actual love and compassion) to his friends and father, is what saved him.
I always saw the intent of Lucas' Skywalker Saga OTL to be that the Jedi were born in nobility in the far ancient times, rightly working to purge themselves of Attachment, but that over the centuries they ironically became attached themselves to the Rite and Ritual and Dogma of the Jedi Rules, mistaking emotion and passion and love and connection for attachment. This made them unable to nurture Anakin through his internal challenges and steer him away from his self-destructive attachment, which led to his downfall and through him the fall of the Jedi and the Republic. Luke, meanwhile, saw through the Dogma and saw the true nature of Love and Friendship and Compassion not as dangerous Attachments, but liberating Connections, and this is why he was able to redeem Anakin, who brought balance back to the Force by purging Palpatine.