E.g., like Assassins Creed Origins’ museum mode where you could learn about Egypt. Less so things like Hearts of Iron or Crusader Kings.
There’s plenty of educational games aimed at elementary school students, but I’m curious if there are any aimed at older audiences, like the game equivalent of a nonfiction book.


I know everyone has different learning styles, but you actually want the learning to be rote, like a book, despite using an inherently interactive media like a game? I would consider that a flaw, and perhaps even the wrong tool for the job.
If you want a textbook there are lots of textbooks available, lots of videos on youtube that explain topics in depth and in various levels from surface level to tedious detail, what do you even need the game part for? It’s way more work to make something like a game, and what is the game part doing besides getting in the way?
The point of a game is to be fun and allow you to experiment more creatively with different ideas to see how they work in practice so you can learn a thing by doing the thing. It’s a form of hands-on learning, and that’s great.
Something like Kerbal Space Program or Factorio or Cities: Skylines will force you to learn about things like orbital mechanics, telemetry, logic, data organization, observability, and traffic optimization just to proceed meaningfully in the game without ever explicitly telling you that you’re learning. A flight simulator or a farm simulator or a racing simulator or an offroad simulator allows you to experiment with and be challenged with (sometimes in very accurate detail) real issues that the real people in those fields have to deal with and with additional learning materials (again, books, videos) you will be able to learn the same way they do. That’s about as close as games get to being the kind of learning material you seem to be looking for. Maybe you need to be explicitly told what you’re learning, I get it, but if you’re not then allowed to play around with those concepts in real-time, why are you bothering with the game? Games are really not an ideal medium for that kind of education.
If you want book-learning, use a book? Use game-learning for the kind of things gaming is good at.