To the tribe of Levi alone Moses gave no inheritance. The offerings by fire to YHWH God of Israel are their inheritance, as he said to him.
Joshua 13:14

But to the tribe of Levi Moses gave no inheritance; YHWH God of Israel is their inheritance, just as he said to them.
Joshua 13:33

Biblically speaking, cities are not considered an inheritance in the same sense as farm and pasture land. City property can produce income, but can't produce life from its substance. The tithes and sacrifices of Israel, however, do produce life, and so are a worthy inheritance for one of Jacob's sons.
Joshua 13:14 & 33