Unless the fruits/veggies come in a package that say “pre-washed” then yes, you should do this.
There are a number of ways that the fruits or vegetables you buy could be contaminated, including but not limited to animals, harmful bacteria found in soils, and poor hygiene among workers picking the foods. Just to be safe, always give your fruits and veggies a good wash before consuming.