The difference between the wicked and the righteous is found in the doctrines of faith and repentance. Through our sins we have all fallen short of being able to return unto God in his kingdom based on our own merits. Only through the grace of Jesus Christ is it possible to enter into the kingdom of heaven. But Jesus does not hand out his grace like candy on Halloween. He requires a certain degree of effort on our part before he will grant the grace that we all need. He first requires that we have faith in him and believe that he is able to save us and belief that we, through following his will, will be able to obtain the grace sufficient to be saved. It does take some effort on our part.
21 Not every one that saith unto me, Lord, Lord, shall enter into the kingdom of heaven; but he that doeth the will of my Father which is in heaven.
Only when we repent and start following the will of the Father is the grace of God given that is sufficient to allow us to enter into the kingdom of heaven. Understanding First, that it is only in and through Jesus Christ that we can be saved, and then repenting of our sins so that once we gain the grace of our Lord, we will be like others in the kingdom of heaven and be able to abide by the laws of His kingdom. Those who are not willing to give up their sins, believe in the Lord and abide by a celestial law will not be found saved into his kingdom but will have to go to a lesser kingdom of glory in the hereafter.
17 From that time Jesus began to preach, and to say, Repent: for the kingdom of heaven is at hand.
God's entire plan is to save as many as are willing and not to simply execute justice upon the fallen of his children. He knew before the foundation of this world that a Savior would be necessary to help his less than perfect children progress.
1 Peter 1:19-20
19 But with the precious blood of Christ, as of a lamb without blemish and without spot:
20 Who verily was foreordained before the foundation of the world, but was manifest in these last times for you,
Those who make it into the kingdom of heaven will be those who love to do the will of the Father and abide by the laws of his kingdom. You won't find those who begrudgingly keep the commandments and wish they could sin in the kingdom of heaven but only those who love God and love doing his will. God will reward only those who really wish to be a celestial being to become a member of his kingdom. Thus the imperative for us to repent and be converted to his will.