Yes I noticed that and enjoyed it and agreed with the sentiment. Only small reservation was it was a bit "preachy" in the context of the film. I'm not so keen on films where the writer or director appear to be pressing a point of view heavily, even if it's one I agree with.
I can appreciate the good in religion as well as the bad. So while I enjoyed this speech, I also enjoyed the recent film "Lady Bird" which portrays a much more benign engagement with religion. Specifically the central character, the teenage girl Lady Bird benefits from mentoring from a nun and she also enjoys the ritual of a Catholic service while away from home.
There are good and bad aspects to religious experience and I appreciate the artistic portrayal of both.