Dark Charms like Hexes are not all evil - some are even used for defensive purposes or in duels like the Twitchy-Ears Hex.
If the target dies before the spell ends, you can use a bonus action to hex a new creature.