It doesn't mean anything, because it is wrong. The correct idiom is "death before dishonor", which means that one would choose death instead of doing something disgraceful/shameful.
it could also be read as in case a (bi- or uni-lateral) agreement is dishonored.
That doesn’t make sense in the context