clement 's letter claimed that god had visited him in a vision and warned him that the knights templar were heretics guilty of devil worship , homosexuality , defiling the cross , sodomy , and other blasphemous behavior .