Proverbs 24:17-18

17 Do not gloat when your enemy falls;
    when they stumble, do not let your heart rejoice,
18 or the Lord will see and disapprove
    and turn his wrath away from them.