Perfect obedience is God's requirement. That's what the Bible teaches. Look at James 2:10, "For whoever shall keep the whole law, and yet stumble in one point, he is guilty of all." Breaking God's law of commandment only one time means we are guilty of all.
Some would say, "If breaking one commandment means I am guilty of all, then there is no hope for me." Wait! There's good news. Jesus Christ is our perfect obedience. He was without sin. He is the only man without sin. When we believe on the Lord Jesus Christ, the righteousness of Christ is put on our account. The only way that we can have perfect obedience before God is in Christ alone (2 Corinthians 5:21).
Our self-righteousness can never please God. It is like filthy rags before God (Isaiah 64:6). People who think they can please God with self-righeousness see no need to receive the perfect obedience of Christ. They may consider themselves to be good, but we will never be good enough. Righteousness is the perfect obedience of Christ.
Christ is perfect obedience, both active obedience and passive obedience. In active obedience, Christ fulfilled the law of God in all things. He came not to destroy the law but to fulfill it (Matthew 5:17). He died on the cross for our sins in passive obedience to God the Father's will. By faith alone in Christ alone, every believer is accounted righteous. Christ is our perfect obedience.