Sin is a unifying factor. I don't mean that it pulls people together, because it doesn't. It pushes people apart. If unifies, because it puts people on the same level. We all sin. We all fail. No one is perfect. So, we are all the same, unified in our imperfection and condemnation.
And God knows it. He sees our hearts as they truly are. No one can disguise or hide the sin in their hearts from God. That makes his sacrifice even more amazing.
religious leaders brought a woman to Jesus. She had been caught in the act of sinning. The Law said punishment for this sin was to be stoned to death. Jesus knew the woman's heart. He knew she had sinned. He knew she deserved this punishment. He knew the religious leaders were right. But he also knew their hearts. He knew each one of them sinned and deserved punishment too. If they were honest with themselves, they would see they deserved to be stoned too. so, he pushed them to be honest ... and she wasn't stoned.
This is the beauty of the gospel. God sees our hearts. God knows we sinned. God knows we still sin. Yet, he still dies for our sins. He still accepts us, even though we still sin.
Jesus doesn't excuse\approve of sin. Sin steals from us. We do not get anywhere close to living how we were designed to live. Life is robbed of meaning and significance. And he told the woman to change the way she was living.
There is no indication in Scripture whether the woman repented or not. Maybe she did. Maybe she didn't. But Jesus demonstrates t he attitude, we should have towards everyone. Because we are all in the same boat.