Your teacher is just using logic, which would make sence if THC caused cancer. However, since the chemical delta-9-tetrahydrocannabinol (THC) does NOT in fact cause cancer, his theory is incorrect.

Note: THC is a fat soluble chemical and Marijuana is a plant containing THC just to clear that up.