The Jedi order and its rules are extremely strict in Star Wars, something that Obi-Wan Kenobi followed well. However, he wasn't able to guide Anakin Skywalker when Anakin needed his friend and master the most.Obi-Wan Kenobi strictly adhered to the Jedi Code, specifically its ban on emotional attachment. That unfortunately made him unable to offer unconditional support to Anakin when he was plagued by dreams of Padme's death. That led to Anakin feeling isolated and scared, something that the Sith lord Palpatine exploited.Star Wars: Obi-Wan Kenobi could have stopped Anakin from becoming Darth VaderStar Wars films have made it abundantly clear that Obi-Wan Kenobi loved Anakin like a brother. However, that doesn't mean he was always there for him. Before the New Republic era, the Jedi Code forbade Jedi to engage in romantic love and deep personal attachments. That left Obi-Wan unequipped to guide Anakin through his secret marriage to Padmé or his paralyzing fear of losing her.As revealed in Star Wars: Episode III – Revenge of the Sith (2005), Anakin began having recurrent, graphic premonition dreams of Padme dying during childbirth. This was also caused by Anakin's trauma over the death of his mother, Shmi Skywalker. Since Anakin and Padme's marriage was a secret, there weren't too many people Anakin could open up to.Obi-Wan strictly followed the Jedi code, but it prevented him from being there for Anakin. Instead of providing the reassurance and support Anakin needed at the time, Obi-Wan often relied on dogmatic lectures, which resulted in Anakin confiding in Palpatine, who manipulated Anakin's exact fears.During their tragic duel in Star Wars: Episode III – Revenge of the Sith, Obi-Wan defeated Anakin but left him mortally wounded on the banks of a lava river. He couldn't bring himself to kill Anakin. In this instance, despite being a staunch follower of the Jedi code, Obi-Wan couldn't do something that could have saved Anakin from going over to the dark side.Yes, that would have killed Anakin, but it would have saved him from becoming Darth Vader and prevented him from committing atrocious crimes in the future. Later on, Obi-Wan, however, did feel guilty about not killing Anakin when he should have. View this post on Instagram Instagram PostAs seen in Star Wars: Obi-Wan Kenobi, Obi-Wan lived with crushing guilt over his failure, eventually moving past the rigid dogma of the Jedi code. He then chose to be openly protective of Anakin's children, Luke and Leia, making sure they were raised and trained well.Obi-Wan was a great Jedi and master. His love for Anakin and the dedication with which he trained him made Anakin the Jedi he was. However, if only Obi-Wan had been able to support Anakin at a time he was struggling or end his life before things turned for the worse, Palpatine wouldn't have been able to use him like he did.Obi-Wan did his best to make up for his failures by taking care of Luke and Leia. But it was too late to do anything about Anakin, who had by then virtually died, replaced by Darth Vader.For more articles like this, follow Soapcentral.