Barbara appears to have engaged in downward comparison.
The social comparison theory was developed by social psychologist Leon Festinger. In this theory, it appears that people have an innate drive to evaluate themselves, often in comparison to others. We sometimes compare ourselves to others as a way of fostering self-improvement and Barbara clearly demonstrated the meaning of social comparison theory
The answer is:
downward comparison