Another way to say "hurting someone else is for revenge" is "The motive for hurting somebody may be revenge."