It's acknowledged that some high-profile ransomware attacks had the ulterior motive of wiping data. They used the ransomware as a front and really just wanted to do damage, not make money.