Generally the benefit caused by the increased domestic production in the tariff protected industry plus the increased government revenues does not offset the losses the increased prices cause consumers and the costs of imposing and collecting the tariff. We haven't even considered the possibility that other countries might put tariffs on our goods in retaliation, which we know would be costly to us. Even if they do not, the tariff is still costly to the economy.