Unless you define “militia” as the set of all citizens who are armed. Which is the way it’s defined even now in Federal law, and as it was commonly defined when the Constitution was written.
Which just makes my point: Militia is wholly dependent on an armed citizenry, and cannot exist without an armed citizenry.
A book library is wholly dependent on books, and cannot exist without books. But books can exist — and people can read them — without a library.