Yes, it's confusing as the names are the same.
Yes, high blood cholesterol can lead to heart disease.
But here's the thing, the body synthesizes its own cholesterol. Mainly in the liver. Dietary cholesterol doesn't have much if anything to do with this process.
Statins work by reducing the liver's production of cholesterol leading to lower blood cholesterol levels and decreasing the risk of heart disease.
Now, a change in diet can "do the trick" and lead to lower blood cholesterol levels but for different reasons than the amount of cholesterol in the food.
The big caveat to all of this is for some people who are genetic outliers and people with diabetes.
Here are a few sources you can check out:
Dietary Cholesterol, Serum Lipids, and Heart Disease: Are Eggs Working for or Against You? https://www.ncbi.nlm.nih.gov/pubmed/29596318
Cholesterol Overview https://www.hsph.harvard.edu/nutritionsource/what-should-you...
Cholesterol in Food https://health.clevelandclinic.org/why-you-should-no-longer-...