Pope Leo XIV warned in a pastoral document about the potential perils of AI and that technology itself could eventually pose a threat to humanity.
The pope's first encyclical, Magnifica Humanitas ("Magnificent Humanity"), talked about the need to protect human beings in the time of artificial intelligence.