It's kind of why there is also a way for you to claim illegally obtained income on your tax form as well.
They may not have proof you committed the crime, but they have proof you tried to hide the crime. So if you make that a crime as well, you get them anyway. The goal isn't to be accurate, the goal is to stop criminals.
Also, by knowingly helping someone launder money, you are kind of aiding them in their crimes. So it's a way to get accomplices as well.