Absolutely not.
Pension plan premiums are a tax that does not take profits into account. Even if a company makes no profit, it still pays the premiums. In terms of investments, that has a more adverse effect than taxes on profits. Actually, economists who study social premiums often say that they have a harmful effect on the economy. A number of empirical studies also confirm that.
As for the carbon tax, everything depends on what is done with the tax dividend, on whether it is reinvested or not.