He states that he got to know the people who lived there and built a connection with them which taught him that they are people too.
He states that he got to know the people who lived there. He built a connection with them. It taught him that they are people, too.