For the Jew or the Christian, this world and its logos, as creatures of the Good himself, are likewise fundamentally good, and so conformity to that logos can possibly be righteous. There is for them a Way of Heaven, a Tao, that pervades the Earth, forms and guides her and all her denizens as she moves in and with it; a Way to which they may, and indeed ought, to aspire. Such folks have a shot at holiness themselves. So we sometimes find them taking that shot, and trying to be good.
For the gnostic, no such luck. Having rejected the creator of this world, and classed him among the evil ones, there is no way that a gnostic can consistently understand the order of his world as intelligibly good. Nor therefore can he believe that agreement with this world’s corrupt order is somehow good or righteous, let alone holy.