No ethnographic studies have shown that any present or past society has used barter without any other medium of exchange or measurement, and anthropologists have found no evidence that money emerged from barter.
In other words, people don’t barter unless they are used to money, but don’t have it.
Wikipedia states it well,
In other words, people don’t barter unless they are used to money, but don’t have it.