Did you hear that from the mouth of God or did you read it out of a book? John 10:27
While many interpret that was meant for those who lived back then, see Heb 3:7
The Salvation is a gift of God, not of our doing in any shape, form or fashion. However, holding true to the promise of the Word and the Spirit, one is growing in the principles of God that will preserve in the Kingdom.
Matt 19:20-21
20 The young man saith unto him, All these things have I kept from my youth up: what lack I yet?
21 Jesus said unto him, If thou wilt be perfect, go and sell that thou hast, and give to the poor, and thou shalt have treasure in heaven: and come and follow me.
He never told the rich young man that he was not going to heaven, he merely told him that if he would do that which he told him he shall have treasure in heaven.
For ye have the poor always with you; but me ye have not always. Matt 26:11
Matt 6:19-21
19 Lay not up for yourselves treasures upon earth, where moth and rust doth corrupt, and where thieves break through and steal: 20 But lay up for yourselves treasures in heaven, where neither moth nor rust doth corrupt, and where thieves do not break through nor steal: 21 For where your treasure is, there will your heart be also.