If that were true, would we all just breath a sigh of relief and say "whew, it's only to prevent money laundering"?
But AFAICT it's not accurate, and KYC checks exist to prevent other forms of illegitimate activity (e.g. loan fraud associated with identity theft) which fit pretty neatly inside most definitions of "scam."