It's worth noting that almost all medicinal drugs have negative effects. Certainly there are people who promote cannabis as a cure-all, and that's pretty ridiculous. But it's equally ridiculous to assume that it has no medicinal uses. You even mention one (pain relief) in your comment!