They can be, like Biden’s tariff on China Electric cars. If China (or any other nation) tries to sell stuff below market and maybe below cost just to drive US Manufacturers out of business, that needs to be stopped.
But in general, they are a bad idea.