Legitimately, as it turns out — Sierra released Betrayal at Krondor as freeware years ago.
Most abandonware sits in a legal grey area, with a rights holder who has not actively enforced anything but has not granted permission either. Krondor is different: the release as freeware means downloading it is permitted, and you are not relying on a rights holder's indifference.
Sierra's own pages have hosted it, and Abandonia is a reliable secondary source that specialises in exactly this kind of release. Either is fine, since the distribution is authorised.
The game is from the DOS era, so on a modern machine you will want DOSBox. It handles the sound card and CPU timing issues that otherwise make old DOS games stutter or fail to start. GOG also sells a packaged version with DOSBox preconfigured, which is the least effort if you would rather pay a small amount than fiddle with settings.