The opposite is true. While many of us were taught a “calories in, calories out” approach to weight management, increasing evidence suggests that approach is antiquated and not all calories are created equal. For example, recently published research indicates that olive oil consumption is inversely associated with weight gain—meaning, the more olive oil consumption, the more weight you lose—while for other oils and fats (e.g., butter, margarine and seed oils), the opposite is true.

Source: Changes in olive oil consumption and long-term body weight changes in 3 United States prospective cohort studies. Guasch-Ferré, Marta et al. The American Journal of Clinical Nutrition.
Additional research from Harvard suggests that weight gain can be reversed by substituting carbohydrates with quality good-fat foods such as olive oil, avocados, nuts and seeds. Olive oil also may help you feel fuller longer, while improving both body composition and blood pressure.
This evidence indicates that when used correctly, olive oil tends to “reduce body fat and waist circumference.”
Note that this hyperlink has been updated - not showing as a tracked change