How did Hymenaeus and Philetus destroy the faith of some?

By teaching that the resurrection was already past, effectively denying the resurrection.

Watch the Teaching: What Does It Mean to Make Shipwreck of Your Faith?