Aren’t pesticides poisons?
As poisons, pesticides are inherently dangerous. However, farmers manage and reduce the risk by both using low levels and applying some time before the crop is harvested so that the pesticide degrades into harmless compounds or is washed off by the rain or other means.
Thus they can be targeted and used at application levels that kill insects rather than harm humans who subsequently use the products.