Willy Wonka is one of Hollywood's most iconic characters. His story is adapted from a Roald Dahl novel from 1964 and has yielded two movies: 1971's Willy Wonka & the Chocolate Factory with Gene Wilder as the titular character, and Tim Burton's 2005 remake, Charlie & the Chocolate Factory where Johnny Depp played the lead. Now, Warner Bros. is retelling Willy Wonka's journey in the form of an origin story with Timothée Chalamet in Wonka.
Source:https://www.cbr.com/wonka-movie-ending-explained/