Yes, all plants produce chemicals that repel or kill pests. Some of them are deadly neurotoxins. Some do not exist in any foods. Caffeine is actually a good insect killer, but you wouldn't want caffeine in your corn, would you?
Your arguments about glyphosate sound great, but don't actually contradict what I said.
I don't work for free, but patents are a huge detriment to my work. They are simply the wrong way to pay for research: they slow down research, increase uncertainty for people who are actually doing productive work, and most of the cash they throw off goes to lawyers rather than to people who are actually doing the work. Of course people (even lawyers!) have to eat, but farmers have to eat too. Monsanto's practices have put many farmers out of business (more in India than here in the U.S.).