The wedding garment speaks of the righteousness of Christ that God so graciously provides for all who accept His invitation into the kingdom. It must be put on by both good and bad (Matthew 22:10).
Right standing before a holy God is not to be achieved in keeping the law but in trust in the person and work of Jesus Christ.
No one, who is trusting in his own righteousness, can have the benefit of Christ's righteousness. The righteousness that gives men relationship with God is the RIGHTEOUSNESS OF GOD, and it comes freely through faith in Jesus Christ.
The way we obtain this righteousness is by putting faith in what Christ has done for us at the cross. When we place our faith in Christ, then the righteousness that Jesus obtained by His faith becomes ours.
Through faith in Jesus, we can receive the very righteousness of God as a gift. God's righteousness is infinitely more in quality and quantity than man's righteousness. No one can ever be justified in the sight of God based on his own righteousness which comes through acts of holiness.
We must have God's righteousness which only comes through faith in the Lord Jesus Christ as Savior. Paul said in Philippians 3:9, "And be found in him, not having mine own righteousness, which is of the law, but that which is through the faith of Christ, the righteousness which is of God by faith." This is "the righteousness of God."