No, George Lucas didn't create Star Wars just to bash the Jedi, that's just something people like to do on the Internet. Despite their flaws the Jedi are still supposed to be the good guys.
The problem with the Jedi was that they got too involved with politics and doing what the Republic wanted instead of following the force. But as far as attachments go they were mostly right.
The Jedi don't really force people to become Jedi, that's kind of a misconception.
Yes, they recruit little kids at a young age, but they're only allowed to do it with the parents permission, it's not like they're snatching up kids without asking. And people can leave if they want, the Jedi aren't forcing people to stay.
I've been preaching this for years on here but people fell for Palpatine/Anakin's bullshyt, but the Jedi were right - and George is objectively trying to tell us:
GEORGE LUCAS: He turns into Darth Vader because he gets attached to things. He can’t let go of his mother; he can’t let go of his girlfriend. He can’t let go of things. It makes you greedy. And when you’re greedy, you are on the path to the dark side, because you fear you’re going to lose things, that you’re not going to have the power you need.
George Lucas to Time Magazine April, 2002 (Dark Victory)
GEORGE LUCAS: In this film, (Phantom Menace) you begin to see that he has a fear of losing things, a fear of losing his mother, and as a result, he wants to begin to control things, he wants to become powerful, and these are not Jedi traits. And part of these are because he was starting to be trained so late in life, that he’d already formed these attachments. And for a Jedi, attachment is forbidden.
George Lucas to CNN, May 8, 2002 (CNN.com - George Lucas: Mapping the mythology - May 8, 2002)
GEORGE LUCAS: Jedi Knights aren’t celibate – the thing that is forbidden is attachments – and possessive relationships.
George Lucas to BBC, May 12, 2002 (BBC NEWS | Entertainment | Film | George Lucas: 'I'm still 25')
GEORGE LUCAS: Well, a lot of people got very upset, saying he should’ve been this little demon kid. But the story is not about a guy who was born a monster – it’s about a good boy who was loving and had exceptional powers, but how that eventually corrupted him and how he confused possessive love with compassionate love. That happens in Episode II: Regardless of how his mother died, Jedis are not supposed to take vengeance. And that’s why they say he was too old to be a Jedi, because he made his emotional connections. His undoing is that he loveth too much.
George Lucas to Rolling Stones, 2005 (George Lucas and the Cult of Darth Vader)
I can go on and on. The Jedi did not get corrupted, the Republic did - what Qui-Gon got right is that the Jedi should not be serving the Republic, an organism concerned with planning and plotting the future. The Jedi should live in the moment, "the living force".
The Jedi beliefs, however, were true. Luke bushed it but even he ends up coming back to it at the end of Last Jedi. And if you want to believe the Trash of Skywalker, pretty much all of the Prequel Jedi live on as ghosts to help Rey out; showing that they were pretty much as pure as Qui-Gon was.
The most important George quote regarding the prequel Jedi (but really just being a Jedi in general, since there isn't the divide that people think there is):
No human can let go. It’s very hard. Ultimately, we do let go because it’s inevitable; you do die, and you do lose your loved ones. But while you’re alive, you can’t be obsessed with holding on. As Yoda says in this one, [The scene in which Anakin seeks Yoda’s counsel] You must learn to let go of everything you’re afraid to let go of.’ Because holding on is in the same category and the precursor to greed. And that’s what a Sith is. A Sith is somebody that is absolutely obsessed with gaining more and more power - but for what? Nothing, except that it becomes an obsession to get more. The Jedi are trained to let go. They’re trained from birth, they’re not supposed to form attachments. They can love people- in fact, they should love everybody. They should love their enemies; they should love the Sith. But they can’t form attachments. So, what all these movies are about is: greed. Greed is a source of pain and suffering for everybody. And the ultimate state of greed is the desire to cheat death.
J. W. Rinzel - The Making of Revenge of the Sith page 213, published in 2005
GEORGE LUCAS: Anakin wants to be a Jedi, but he cannot let go of the people he loves in order to move forward in his life. The Jedi believe that you don’t hold on to things, that you let things pass through you, and if you can control your greed, you can resolve the conflict not only in yourself but in the world around you, because you accept the natural course of things. Anakin’s inability to follow this basic guideline is at the core of his turn to the Dark Side.
George Lucas to sci-fi online, 2005 (http://www.sci-fi-online.com/Interview/05-11-01_GeorgeLucas.htm)