It likely ends up being a lot higher revenue depending on the author's life style.
Books and courses potentially have a lot of "back-end" value from opportunities that come up through folks finding you through your book / course.
Here's a couple of excerpts from writing blog posts and making a few video courses over the last 5-6 years:
Wrote a blog post about Flask that took me 3 hours to write but it resulted in 40 hours of contract work from someone finding me through that post. You could say the post directly made $0, but indirectly made a lot more than $0. Stuff like this might happen 8 months after you write the post.
In another case, I made a course about Flask and someone reached me out to me for contract work which resulted in a multi-year long gig which then turned into a full time position and along the way met some great people.
I've flown across the US a few times for tech events (all expenses paid) because of a blog post and got to experience things I wouldn't have gotten to experience on my own.
There's dozens of other events and contract gigs over the years that happened from writing blog posts and video courses. They all resulted in either indirect monetary gains or fun life experiences. A lot of the posts resulted in nothing too but that's ok. To me writing is the reward, everything else is secondary.
That's because, although I can trace specific projects and therefore specific revenue to things I've written, I don't know what the counterfactual would have been. Would I have ended up doing another, similar, project instead? How much of a premium can I charge because of the channel through which the work came in?
I don't think anyone can answer that.
If you take this line of thought to completion then nothing is quantifiable because there's too many ways for events to have an unpredictable outcome when measured over time. For example, you could start walking outside on a windy day, wave at your neighbor without stopping, eventually reach train tracks, pause for 2 minutes to wait for the train to pass, continue walking and then get hit in the face by a $20 bill that happened to get lifted up by a wind gust. If you talked for 5 minutes with your neighbor instead of just waving you wouldn't have picked up $20 because the $20 would have blown away by the time you got there.
Since your life is a series of non-editable events there's no way to know what would have happened in both scenarios. Or to relate it back to this example, writing blog posts, books or courses. The only thing you can do is make decisions that you think will be beneficial for you based on whatever criteria you feel is important. I can say at least in my case, writing these posts and making those courses produced a beneficial outcome and tons of other folks have said similar things about writing.
One thing I've learned is you can't discount great things from happening when doing things that feel minor. It's like the butterfly effect. Someone reading 1 sentence in a blog post you wrote 2 years ago could result in you getting a personal tour from the senior astronomer at SETI's headquarters[0]. Completely unpredictable.
[0]: https://nickjanetakis.com/blog/coming-back-to-cloud-field-da...
The trick is that you cannot simply decide to work an extra hour and a half everyday at your day job to get the extra income. Plus who wants to work 10 hour days for years on end?
Writing a book falls into the category of being your own boss/business - but there are also uncertainties.
The author mentioned that he spent around two months on producing a book, and seeing that he's authored 17 books - that comes out to 34 months over 6 year. But I can't find any information on how much time is being spent during those two months. My estimates were almost two hours / pages or writing a day, and with average of 170 pages a book, that came to 80-90 days of writing, or almost 3 months. So it seems I overestimated.
I found 17 books where he was author and co-author, all books sum up to 2924 pages. I'm sure some of these books have lots of overlap - for example, I found three books which included "React hooks" in them, so I'd assume that he copy/pasted some pages. But for simplicity and worst-case scenario, let's assume 2924 unique pages, and subtract say, 200 blank pages and similar, so 2724 unique pages.
$160k / 2724 pages = $58.73 in revenue pr. page.
Let's further assume that he spent one hour on each page. Over six years, that's 454 hours / year spent in writing books. If we further assume that he wrote those during weekdays (260 / year), that comes to roughly 1h 45m a day writing.
And then you have to ask yourself - how much do you value your spare time? How much would it cost to hire you, in your free time, for almost two hours?
If we assume that you make $50 / hr. at your work, and work 8 hours a day, 260 days a year, that comes to $104k/year - which seems like a normal salary for IT professionals in the western world, at least if you have the knowledge enough to punch out xx books on various topics.
Let's use that as the opportunity cost for this calculation - i.e, had the average IT guy chosen to rather work than write a book, at $50/hr, the opportunity cost would have come to 2724 hours (because 1 hr/page) * $50 = $136200. These are the gross figures, we haven't even touched on things like taxes, third-party costs, and what not. And all the above assumptions could be wildly inaccurate - for all we know, the author could burn through these books in just weeks, being a very productive writer. Or it could have taken more time.
So I wouldn't call it "passive income" at all. The author clearly spent substantial amounts of time to write these books, and other parts of business. But one could argue that future earnings will be more or less passive, and those are the fruits of his labor.
EDIT: And as other have mentioned, while published books can earn you income "indefinitely", most books still have a finite product lifetime. At some point the sales will taper off, and become more or less negligible.
But if you enjoy writing, enjoy the idea of helping people, and then a lot of the above kind of becomes irrelevant. For some people, this kind of work is infinitely more rewarding than "regular" work, and the payoff is more than just monetary ROI.