If a broken clock is fixed, the clock cannot act broken even if it wants to.
Think of the brain as a clock.
If the 'brain' is made normal, even if it sees something unrighteous for a moment
and want to do unrighteous deeds, the brain discerns right away and not do it.