Then you could also say that someone who knows the way of righteousness and walks away (commits unrighteousness = sin) does not know God and will not enter into the kingdom of God.
Romans Chapter 6
1What shall we say then? Shall we continue in sin, that grace may abound? 2God forbid. How shall we, that are dead to sin, live any longer therein? 3Know ye not, that so many of us as were baptized into Jesus Christ were baptized into his death? 4Therefore we are buried with him by baptism into death: that like as Christ was raised up from the dead by the glory of the Father, even so we also should walk in newness of life. 5For if we have been planted together in the likeness of his death, we shall be also in the likeness of his resurrection: 6Knowing this, that our old man is crucified with him, that the body of sin might be destroyed, that henceforth we should not serve sin. 7For he that is dead is freed from sin. 8Now if we be dead with Christ, we believe that we shall also live with him: 9Knowing that Christ being raised from the dead dieth no more; death hath no more dominion over him. 10For in that he died, he died unto sin once: but in that he liveth, he liveth unto God. 11Likewise reckon ye also yourselves to be dead indeed unto sin, but alive unto God through Jesus Christ our Lord. 12Let not sin therefore reign in your mortal body, that ye should obey it in the lusts thereof. 13Neither yield ye your members as instruments of unrighteousness unto sin: but yield yourselves unto God, as those that are alive from the dead, and your members as instruments of righteousness unto God. 14For sin shall not have dominion over you: for ye are not under the law, but under grace. 15What then? shall we sin, because we are not under the law, but under grace? God forbid. 16Know ye not, that to whom ye yield yourselves servants to obey, his servants ye are to whom ye obey; whether of sin unto death, or of obedience unto righteousness? 17But God be thanked, that ye were the servants of sin, but ye have obeyed from the heart that form of doctrine which was delivered you. 18Being then made free from sin, ye became the servants of righteousness. 19I speak after the manner of men because of the infirmity of your flesh: for as ye have yielded your members servants to uncleanness and to iniquity unto iniquity; even so now yield your members servants to righteousness unto holiness. 20For when ye were the servants of sin, ye were free from righteousness. 21What fruit had ye then in those things whereof ye are now ashamed? for the end of those things is death. 22But now being made free from sin, and become servants to God, ye have your fruit unto holiness, and the end everlasting life. 23For the wages of sin is death; but the gift of God is eternal life through Jesus Christ our Lord.
14What doth it profit, my brethren, though a man say he hath faith, and have not works? can faith save him? 15If a brother or sister be naked, and destitute of daily food, 16And one of you say unto them, Depart in peace, be ye warmed and filled; notwithstanding ye give them not those things which are needful to the body; what doth it profit? 17Even so faith, if it hath not works, is dead, being alone. 18Yea, a man may say, Thou hast faith, and I have works: shew me thy faith without thy works, and I will shew thee my faith by my works. 19Thou believest that there is one God; thou doest well: the devils also believe, and tremble. 20But wilt thou know, O vain man, that faith without works is dead?
1I am the true vine, and my Father is the husbandman. 2Every branch in me that beareth not fruit he taketh away: and every branch that beareth fruit, he purgeth it, that it may bring forth more fruit. 3Now ye are clean through the word which I have spoken unto you. 4Abide in me, and I in you. As the branch cannot bear fruit of itself, except it abide in the vine; no more can ye, except ye abide in me. 5I am the vine, ye are the branches: He that abideth in me, and I in him, the same bringeth forth much fruit: for without me ye can do nothing. 6If a man abide not in me, he is cast forth as a branch, and is withered; and men gather them, and cast them into the fire, and they are burned.
The point is, that we cannot and will not continue in willful sin if we are truly abiding in Christ. If we commit willful sin, we are in danger of hell fire. Read the verses below.... and notice in verse 30 that is says "The Lord shall judge His people."
23Let us hold fast the profession of our faith without wavering; (for he is faithful that promised;) 24And let us consider one another to provoke unto love and to good works: 25Not forsaking the assembling of ourselves together, as the manner of some is; but exhorting one another: and so much the more, as ye see the day approaching. 26For if we sin wilfully after that we have received the knowledge of the truth, there remaineth no more sacrifice for sins, 27But a certain fearful looking for of judgment and fiery indignation, which shall devour the adversaries. 28He that despised Moses' law died without mercy under two or three witnesses: 29Of how much sorer punishment, suppose ye, shall he be thought worthy, who hath trodden under foot the Son of God, and hath counted the blood of the covenant, wherewith he was sanctified, an unholy thing, and hath done despite unto the Spirit of grace? 30For we know him that hath said, Vengeance belongeth unto me, I will recompense, saith the Lord. And again, The Lord shall judge his people. 31It is a fearful thing to fall into the hands of the living God.
This is not talking about people who didn't know God... it's clearly referring to ones who knew Him and then chose to sin willfully. Verse 31.... "It is a fearful thing to fall into the hands of the living God." Lord help us!