I always thought that B5 had more in common with Lord of the Rings than DS9.
Oh, jms freely admits that as his main inspiration. LotR and, I think, Arthurian legend. Or was it Greek mythology
More Babylonian mythology.
The Arthurian legend is very apparent even without Late Delivery From Avalon.