Judaism
Regret is the beginning of teshuvah. Not its end.
Judaism has a precise technology for this: teshuvah, the turning. Maimonides laid out the stages clearly — recognize the wrong, feel real regret, make restitution where possible, resolve not to repeat it, and when the same situation arises, choose differently. Regret is not the punishment. Regret is the raw material. A life without regret would be a life incapable of growth, because you would never know which way to turn. But regret that does not convert into action is just a cage you are building for yourself. The tradition does not want you to feel terrible forever. It wants you to use the terror to become a different person.
“In the place where penitents stand, even the wholly righteous cannot stand.”
— Talmud, Berakhot 34b