Because God is just with us and requires us to act justly toward Him, but also toward one another. Likewise it follows that since man is a social being and lives in a society, it follows that he must be just toward his society and his society must be just toward him.