Quite so. Even the things we may not particularly like, are allowed for a reason.
The rain falls upon the just and unjust.
Part of the story here is to illuminate what people will do under various circumstances. God may bring an earthly blessing to a committedly bad man simply to show how bad that man can get. Contrariwise, God may allow curses to fall upon a better man (with righteousness by faith, not absolute) to show how good that man can get.