According to most trade economists, tariffs could benefit a country only in rare circumstances, but governments are unlikely to have the information they would need to set tariffs at the "right" level, and governments with the power to set tariffs would almost certainly abuse it. Free trade is valid as a general rule, the general use of which is generally beneficial.
Source