@Katie231 Here's Google's official take on the subject:
https://developers.google.com/search/blog/2023/02/google-search-and-ai-content
TL;DR: Spam is spam. Useful content is useful content. Doesn't matter how it was written.
When I use AI to help generate content (I happen to like Longshot.AI), I also use their built-in duplicate content checker. Sometimes it finds duplicate passages which I rewrite and improve upon.
Because Longshot cites sources, I may also quote the source and link it, if the point is made well and it would be appropriate to credit, rather than riff.
Copyscape is a very cheap and easy way to ensure you aren't accidentally plagiarizing, especially if many of the words were added to your content by AI.
Most important to all of this that I have realized the more I use AI as a tool, my own bar for high quality work has gone UP. It's so easy to get to a very basic article now that I find I'm more likely to expand on ideas and bring in more sources. Efficiency is no doubt improved, but I do err on the side of higher quality, which is not a bad problem.