The Dark Side Of The Sun by Terry Pratchett

In a universe where the future is determined by probability calculations, a young man named Dom Sabalos embarks on a quest to uncover the secrets of the mysterious planet Widdershins. As the heir to a powerful family, Dom is driven by a prophecy that suggests he will be the one to find the mythical "Jokers' World," a place rumored to hold the answers to the universe's greatest mysteries. Alongside a diverse crew of eccentric characters, including a sentient robot and a talking chair, Dom navigates a galaxy filled with danger, intrigue, and humor, challenging the very nature of destiny and free will.