This. Suppose the goal is to buy and hold some index for your pension in 30 years time. It's hard for to imagine that fossil fuels are going to grow faster than the other index components. So I'd rather cut them out.
I thought I would do a ballpark check. Random first index of oil & gas I found was FTSE 350 Oil & Gas. Start 2010 value: ~7914. Start 2020: ~8253. Return: 1.043. General FTSE350 at the start of 2010: 2718. Start 2020: 4311. Return: 1.59. So we'd have done better buying a fossil fuel divested index 10 years ago. I see no reason to think this trend will reverse.
The fundamentals to me are that fossil fuels are likely only see more regulation, divestment and less importance to new technologies. While the upside wildcards in energy are most likely not in fossil fuels.