Jesus didn’t have to tell the woman at the well that her current living situation was sinful. She knew it. But he did invite her to expose this need for grace. When she did, he didn’t condemn her, but continued his conversation with her. He didn’t have to talk with her in the first place, but he did. He could have done what so many others surely had done, looking past her rather than seeing her and talking to and with her. He even broke two social barriers by this. He spoke to a woman. And the woman was a Samaritan.
Finally, Jesus teaches her about God, worship, and himself as Messiah. He is the embodiment of grace and truth. As a result her life was changed. Instead of avoiding people (by coming to the well when she would others not to be present), she now goes into the village and invites everyone to come see Jesus and hear his teaching.