You can pay someone to write the book for you. The reader won’t know the difference.
Alternatively, you can write the book yourself and truly call it your own.
The artist thinks and does the work like an athlete. Editors or coaches are there to help guide you along the way.
But it’s your sweat first and foremost.
She/he doesn’t delegate it to a bot, even if that machine is human.