This is like saying that the purpose of a gun is to commit murder. It’s a tool. You can use it for any purpose, including simply reading the code to inspire you to write other software or learn how software is designed.
Especially for media playback tools, to say its main purpose is for crime is as silly as to say a monitor’s main purpose is for looking at Facebook.
Especially for media playback tools, to say its main purpose is for crime is as silly as to say a monitor’s main purpose is for looking at Facebook.