>>142890The military also feeds and houses its personnel. In that regard, it's like socialism. However, all these things are benefits which are part of a contract, they are received in exchange for their service. UBI is something different, it is money given to everybody of a city or state for just existing.
The Alaska Permanent Fund, for example, is more akin to UBI. It's a check, meager as it is, given to every Alaskan by the state just for residing there.