Maybe this is true in some locations. Not here, and not anywhere I've bought property and had inspections done (CO, TX, CA).
The inspection is purely informational. I just looked at the last one I had done and it says:
All components designated for inspection in the ASHI® Standards of Practice are inspected, except as may be noted in the
"Limitations of Inspection" sections within this report.
It is the goal of the inspection to put a home buyer in a better position to make a buying decision. Not all improvements will
be identified during this inspection. Unexpected repairs should still be anticipated. The inspection should not be considered a guarantee or warranty of any kind.
The inspection provides you information, and might or might not notice significant problems. It provides you absolutely nothing in the way of any recourse if something is missed.
Attorneys go to school for many years, and then have to pass a bar exam. Even a licensed tradesman has to apprentice for some number of years then pass an exam.
In CO, and many other states, there is absolutely no requirement for licensing or experience of any sort to be a home inspector. There are classes available to "help you start your home inspection business". Even Texas, which does require licensing, requires 328 hours of classes. 41 days. For comparison, a 12 credit hour load at a university would be about 180 hours of classroom time, plus additional study time. So, the Texas requirement is fairly significant. Hardly compares with four years of undergraduate school and three more years of law school required to be an attorney.
I'm not saying an inspection is useless. If you know little about houses, it can help you identify problems. But of the inspections I've had done, 90% of the report was either boilerplate or pointing out minor issues like missing doorknobs. And don't expect anything at all from any inspector when (not if) you find something the inspector didn't notice.
I would also say that I've never had a home inspector who was willing to make any comments about termites or any other pest. In places like TX where termites are an issue, a separate termite inspection and certificate was required. That one does actually have something behind it.
Similar for any structural, electrical, plumbing or HVAC problem. At the most, the inspector will make a comment saying "recommend evaluation by a licensed electrician" or whatever's applicable.