"In this whole passage it seems that the apostle wants to show that there are two justifications, one by works and the other by faith. He says that justification by works has its glory in and of itself, not before God. Justification by faith, on the other hand, has glory before God, who sees our hearts and knows those who believe in secret and those who do not believe. Thus it is right to say that it has glory only before God, who sees the hidden power of faith. But the one who looks for justification by works may expect honor mainly from other persons who see and approve of them."
Origen, Commentary on the Epistle to the Romans, on Romans 4