When you write a book “about a topic,” you’re competing with every single other book on that topic. You might be able to beat them all and own the category! But it’s pretty hard to pull off.
Instead, focus on a specific problem.
What you’ll find is that there are far more specific problems than broad topics, and your chances of writing the book to solve a single one are actually quite good.