1540s, from L. segregatus, pp. of segregare "separate from the flock, isolate, divide," from *se gregare, from se "apart from" (see
secret) + grege, ablative of grex "herd, flock." Originally often with reference to the religious notion of separating the flock of the godly from sinners.