Well let's take a look at what the scriptures say about being perfect:
Matthew 5:48
Be you therefore perfect, even as your Father who is in heaven is perfect.
Hebrews 10:14
For by a single offering he has perfected for all time those who are being sanctified.
Philippians 3:12-15
Not as though I had already attained, either were already perfect: but I follow after, if that I may apprehend that for which also I am apprehended of Christ Jesus.
James 1:4
But let patience have her perfect work, that ye may be perfect and entire, wanting nothing.
James 3:2
For in many things we offend all. If any man offend not in word, the same is a perfect man, and able also to bridle the whole body.
1 John 4:12
No man hath seen God at any time. If we love one another, God dwelleth in us, and his love is perfected in us.
1 John 2:5
But whoso keepeth his word, in him verily is the love of God perfected: hereby know we that we are in him.
1 John 4:18
There is no fear in love; but perfect love casteth out fear: because fear hath torment. He that feareth is not made perfect in love.
Here is just a few places speaking on being perfect in the faith, and as we can see that perfectness is to show out in our actions. It is not just an internal action within us but is the inside has to be cleansed first in order for the outer to show a true faith in the Lord.
And again doing His righteousness is not our ow doing !!!!!
The scriptures say clearly by our Lord Jesus a number of things where He says if we do not do we will not see/inherit/receive the kingdom of heaven. I can break them all down again if you would like, but we should believe and trust in what He said if we are believers in Him.
This is not earning salvation by doing as our Lord taught and commanded to do, as the grace is what was freely given to us while we were still sinners. The faith in Jesus that puts us under that grace is an active faith, and until we learn to separate grace, faith, and salvation then mushing them together as one will always lead to a false understanding.
Faith in Jesus is what puts us under God's grace that saves us unto salvation !!!