One of the parishioners in my church had a roof get sopping wet and rot after vapor barriers were put into half the attic. Seems the installers didn’t bother with the requisite ventilation.
Vapor barriers should be installed with fear and trembling. What happens depends on the particular climate and building, but it’s often nothing good. “Absolute” vapor barriers like foil and poly sheeting are much more likely to cause problems.