“Not everyone who says to Me, ‘Lord, Lord,’ shall enter the kingdom of heaven, but he who does the will of My Father in heaven. Many will say to Me in that day, ‘Lord, Lord, have we not prophesied in Your name, cast out demons in Your name, and done many wonders in Your name?’ And then I will declare to them, ‘I never knew you; depart from Me, you who practice lawlessness!’.” Matthew 7:21-23
In Luke 15:11-32 the account of the Prodigal Son is related by the Lord Jesus. Please read this when you can for accuracy.
The narrative is as follows, a man has two sons and the younger of them decides that he would like to enjoy his inheritance right away, so he asked his father for his portion of the estate.