Magician's Gambit is the third book of the Belgariad fantasty series by David Eddings.

Warning: Wikipedia contains spoilers

Garion and friends go after Ctuchik, the evil Angarak sorcerer who has the Orb.