Justice is rather the activity of truth than a virtue in itself. Truth tells us what is due to others and justice renders that due. Injustice is acting a lie.
In regard of the rich grace and wisdom of his love toward his people for who sees not but that it is a curse to be unready as these foolish virgins who were therefore shut out.