Because most countries did not have salt mines or the ability to extract it. Most ancient peoples relied on sea evaporation or trade, which made it a very rare and expensive commodity.
Because they ahd an excess of gold and since salt is a preservative then they would need it to preserve meats. Other countries like gold and they say "Hey we have so much white rock that we could...