Actually, Rey kept the Jedi texts, stowing them on the Millennium Falcon where we the audience see them at the end - while Luke had to let go of his fear of the past by believing the books were destroyed, Rey gets to learn from their wisdom and keep the Jedi religion alive. It's the farthest thing possible from downgrading religion and making it up as they go along.