Well, on Amazon that book has a solitary rating of 1.
https://www.amazon.com/Mastering-Programming-Language-Beginners-Computer-ebook/dp/B09SG6GZBD/
This reminds me of another book someone not too long ago was using as a beginner's C++ book that was more C than C++, and the bits of C++ introduced very late in the book's chapters were really bad C++/bad C.
https://www.amazon.com/C-Crash-Course-Josh-Lospinoso/dp/1593278888/
M'ok, "learn to program" books are outdated from the minute they are written and published since "proper" C++ usage keeps evolving. Most authors writing programming books are only interested in a paycheck, forget about being decently competent programmers. Even eBooks can be behind the curve.
Many C++ books are utter crap. Others, like the Sams series, are superficial and too lightweight IMO to be worth the price.
There's only a couple of authors I would opine are worth the money: Rainer Grimm, Nicolai M. Josuttis, Bartłomiej Filipek.
A couple of other authors of books I do own, read and use on a case-by-case basis are: Jason Turner, Andreas Fertig.
A single standalone Learn C++ book I'd without hesitation recommend, that very strongly uses C++20, is "Beginning C++20: From Novice to Professional"
https://www.amazon.com/Beginning-C-20-Novice-Professional/dp/1484258835/
"Beginning C++20" is not an easy to follow book, it really goes far and deep into C++ quite quickly. Someone reading it needs to be very determined to learn.
Another "problem" with learning C++20 is currently there is only one compiler that is fully compliant with the standard, Visual Studio 2019/2022. Modules and <format> are quite a chunk of what is used.
If the choice came down to either print or eBook I'd go with the latter since theoretically an eBook can be updated (for free usually) as the future happens.