So, Yoda is burning the books (or at least, apparently so) not because he’s agreeing or disagreeing with Luke about them but to categorize them as irrelevant for the moment. I don’t see how that is communicated other than retroactively after the audience member notices the texts on board the Falcon using their superhuman powers of focusing on every frame of this movie. And that’s an aggravating thing to do, treating this key insight into the story of Luke like an Easter egg.
Assume for a moment that that shot was not in the movie. Please, go with me there, and consider the Yoda scene without what came at the end of the movie. Thinking strictly from that limited POV, what’s the Yoda scene doing?