>>510336136the reason the main kid failed wasnt for the same vice indulgence the others did, but for a even worse reason, due to his conditions, the liar appeared before him and made a deceptive promise, he wanted him to steal the secret recipe in trade for money, of course this was a lie preying his biggest vulnerability and insecurity, which was his poverty. his intention however wasnt bad, he wanted the money for his family, he was severely poor. towards the end of his walk throughout the factory, he fell for a temptation, but has ashamed, he learned his lesson, when finally meeting wonka towards the end, wonka says he wont win a prize, because he cheated the rules. the kid and his grandpa think it was because of the last trouble, which was little in his mind, which indeed was, however that wasnt the case for wonka either. the kid proved himself because he realized something, he was lying, he did steal the recipe, but was dishonest to wonka. he repented his actions and proved himself to wonka. thusly he was given the inheritance of the chocolate factory.