Exactly.
(Except for minor but important fact Scottrf that someone purchased that 2nd hand book in the first place! pdf copies are made from library books and all sorts of other mischief)
The author obviously did benefit initially from the first book sale in the case of 2nd hand copies.
Precisely.