Most AI models used Books3 as part of their dataset which is a collection of pirated books. Here are a few articles talking about it:
https://www.theverge.com/2024/8/20/24224450/anthropic-copyright-lawsuit-pirated-books-ai
https://www.theatlantic.com/technology/archive/2023/08/books3-ai-meta-llama-pirated-books/675063/
Those who continue to do business with them will be punished