Not necessarily. The material teachers distribute to classes come out of their budget (ink and paper aren't free). And the time taken to compile an entire course from scratch would not be insignificant.
The copyrighted works we were shown and given access to in class were supplements to the textbooks we were using.