The Judge of All the Earth and the Theologian in Mamre

Abraham knew that the Lord is just in all that he does, but how did he know that? And how can Abraham serve as a model for us in doing theology today?
Abraham knew that the Lord is just in all that he does, but how did he know that? And how can Abraham serve as a model for us in doing theology today?