Having superpowers powered by emotion is dangerous, and the whole point of Jedi training is to understand and recognize your emotions, so that you don’t allow intense emotions to control your actions.
Anakin did not learn those lessons. Ignoring emotion is the antithesis of Jedi teaching, the entire point is to learn how to deal with them in a healthy way.
What ‘good’ was he actually trying to do? Padme was in no actual danger, he just had dreams about her dying. A desire to force someone to live beyond their natural life through any possible means and despite all negative consequences is not ‘good’. There is no universe where murdering dozens of children is ok because he might be able to save his wife from something bad that might happen to her at some future point.