Sometimes we act out of pure selfishness, and are later dismayed. For example, Switzerland cut off access to all refugees from Nazi Germany in 1943 (an immoral act, in my view), and the following year was D-Day. It was just about over.
Of course I rendered my judgment from the safety of USA shores. Only God can render a just judgment in cases like that.