A lot more people who write books talk about their experience than those who run a niche profitable SaaS app for obvious reasons (competitive advantage).
In my experience, it's much easier to have a stable recurring revenue from a SaaS app than a book. Books go out of date much faster.