Western apocalyptic traditions repeatedly build around a small, disciplined community that holds a covenantal rule while the larger world is asleep or corrupted.
In the Essenes this appears as a structured community with an internal discipline and an expectation of coming anointed figures.