Some would argue that this is 'karma' and that they are getting their just desserts, while others would say, 'no' that no one deserves to die as they did. However, if one were to look at the entire plot structure, the initial problem is that both men want the other man to stop doing what he's doing (one way of the other). Do they get what they wanted? Yes. Just not the way in which they intended.