Plus Yoda says “there’s nothing in the books that the girl rey doesn’t already know”.
No, he did not say that. He said “There is nothing in that library that the girl does not already possess.” , meaning Yoda knew that Bey had taken the books before he burned the tree down. The library was now empty.