Artificial intelligent assistant

What is the origin of the plot device where a character changes negative views about someone after spending time with them? I feel like this is a common story element. Someone has a negative view about a person/group of people, and their worldview is changed after they are forced to spend time with that person/group. This happens in Disney's Pocahontas (and by extension, Avatar), and I have seen a webcomic where it is the focus. But I feel like there has to be a long history of this idea in literature. I am interested in the history of this plot device. Does anyone know if there is a single story or event from which this originates?

It goes back at least to Biblical times, if not earlier. St Paul, also known as Saul, was a persecutor of early Christians. But while traveling on the road to Damascus he was struck blind. Some Christians took care of him until his sight was restored. Then he was converted to Christianity, and became their leader.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 0cd5baca96aaaaa86fabef441fac25db