He did it to demonstrate his righteousness at the present time, so as to be just and the one who justifies those who have faith in Jesus. Romans 3:26.