Stargate SG-1: Trial by Fire

Stargate SG-1: Trial by Fire was the first novel published by Fandemonium for the Stargate universe, though the fifth novel overall including the earlier Ashley McConnell novels. Written by Sabine C. Bauer, the novel was released in June of 2004 and was set in Season 7 of Stargate SG-1.

Publishers summary
A pious people, the Tyreans are devoted to the Canaanite deity, Meleq. When their spiritual leader is savagely murdered during a mission of peace, they beg SG-1 for help against their sworn enemies, the Phrygians.

Initially reluctant to get involved, the team have no choice when Colonel Jack O'Neill is abducted. O'Neill soon discovers his only hope of escape is to join the ruthless Phrygians - if he can survive their barbaric initiation rite.

As Major Samantha Carter, Dr Daniel Jackson and Teal'c race to his rescue, they find themselves embroiled in a war of shifting allegiances, where truth has many shades and nothing is as it seems.

And, unbeknownst to them all, an old enemy is hiding in the shadows...