The Memory Of Earth by Orson Scott Card

On a far-future colony world, an ancient, failing artificial intelligence called the Oversoul manipulates visions and dreams to guide a chosen family and their followers to leave a decadent, fractious society and undertake a perilous journey toward their lost origin; along the way political ambition, religious fervor, personal betrayals, and questions of free will force the travelers to confront the legacy of their ancestors and the limits of a machine’s attempt to preserve humanity’s memory and moral balance.

Purchase from Bookshop.org