A jealous ostler ( person who works in the stable ) who is in love with Bess reports the highwayman to the army . When they come to ambush him , Bess kills herself to warn him and save his life . Betrayed to the authorities by a jealous ostler ( stableman ) , the highwayman escapes ambush when Bess sacrifices her life to warn him .