My anthropology class had us buy four textbooks all written by the professor.
None of them was used at all during class.
I didn’t buy them, or rent them, or spend any money on them. And then I learned to look at the book author while signing up for classes, since the book(s) is/are usually listed.