The advice I've typically seen is more like this advice
“Hard inquiries,” also called “hard pulls,” are the kind that can cost you points. They happen when someone pulls your credit for the purpose of deciding whether to extend credit (or additional credit) to you.
and
A hard inquiry might cost you up to five points according to FICO, the creator of the most widely used scoring formulas. With VantageScore, an increasingly popular credit scoring model, an inquiry could cost 10 to 20 points.
I've noticed of late that I'm now getting credit card offers that say something like
Find out in 60 seconds or less if you qualify, with no impact to your credit
How can they promise no impact if they're doing a "hard pull"? Or is this a soft pull, followed by a hard pull if you qualify?