Not that we do nothing. We can ban pesticides, return back to heuristic based agriculture where mistakes are localized and inventions are robust and of limited scale.
Pesticides are mostly used for crops that humans do not eat directly. Food safety was never about beans or sweet potato or other efficient plant sources of protein and calories, it was about wheat, soybean and corn.
Their introduction, just like the introduction of GMOs is a result of a livestock agriculture lobbyists that made sure to increase yield of meat and other animal based products by promoting the use of aggressive compounds. These products are not a strategy for food safety but for luxurious and wasteful eating.