Firelighting long before matches, was the first priority of ancient peoples. Fire frightens wild animals, cooks your food, cheers the spirits.
Shelter, the second priority, from a simple cloak to a thatched hut, keeping warm, keeping dry.
Food, from hunting and gathering to a 3 course meal!