Sushi

In its early stages, it was not a dish, but a way of preserving food.

An excerpt from the article 19 facts about sushi
Inland Asians discovered that cooked rice would ferment and become sour, which would prolong the freshness of fish without the necessity of cooling it down. The fermented rice would be thrown out before the consumption of the fish.