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?
You should see the film again (or read a transcript, I’d provide one if I had it). The scene with Yoda is literally saying those things, with or without the shot of books at the end to reinterpret it. This is the whole reason why Yoda hits Luke with his cane, because he wasn’t thinking “for the moment,” as you say. Yoda doesn’t say anything about the content of the books himself except in reference to making fun of Luke (“Read them did you? Page turners, they are not.”).