The lore doesn't need to have much to do with the story of a game to be interesting, though.
Consider all the lore books on Elder Scrolls games, or the data points in the Horizon games. Most aren't necessary to read for the quest you do, but they provide a lot of context for the world around the protagonist.