It’s not changing a habit of thought.
It’s deciding to ask Jesus to forgive you and HE makes you reborn with new spiritual life.
Your thoughts will indeed change but only because you now have a new nature, not because of some effort on my part to think differently.
“Its deciding to ask...”
Again, I see this as mental work, just restated.