In the NT, it works out, because the woman taken in adultery apparently recognises her narrow escape and repents. In the movies she is always very grateful, and we seem to think that this is a natural and automatic response on her part. As if.
That's not a given for human nature. A lot of us would get rescued from the stoning, go home, and say "Whew! I'll have to be more careful next time!"