OK, so this submission does not count. I tried the game twice, and each time lost out on a religion around turn 60/65. I was keeping an eye on the Great Prophet points, but I think each time the AI used gold or faith to purchase the last little bit, and leap frog me.
Third time. Built...