In John 4:39-42, the Samaritans believe through hearing the woman’s testimony as well as the words of Christ.
Jeaus stayed for two days to share with the Samaritans; the Samaritans get their blessings because of their hospitality to Jesus vs 40..urged him to stay with them.
John 4:39-42
[39]Many of the Samaritans in that town believed in Jesus because the woman had said, “He told me everything I have ever done.”
[40]So when the Samaritans came to him, they begged him to stay with them, and Jesus stayed there two days.
[41]Many more believed because of his message,
[42]and they said to the woman, “We believe now, not because of what you said, but because we ourselves have heard him, and we know that he really is the Saviour of the world.”