
Drying is the oldest form of food preservation, and dried meat is the oldest form of dried food. Used by virtually every ancient culture dried meat was probably, like many of mankind's most useful discoveries, learned by accident.
Bacteria that spoil foods need moisture to operate and multiply in, so if you remove all the moisture bacteria cannot grow, the resulting product, however is very hard and unpalatable.