It's tough for me to Rank them so a lot of countries will have to share spots. Countries below are either the ones I visited or I am confident that I had something that is at least very close to what people actually eat there.
1. France, Greece, Italy, Spain
2. Argentina, Croatia, Japan, Mexico, South Korea, Poland, Portugal, Serbia, Turkey, Vietnam
3. Brazil, Colombia, Georgia, Hungary, Indonesia, Iran, Lebanon, Southern India, Thailand
4. China's Sichuan Region, United States, Northern China
5. Big gap
7. Austria, Canada, Czechia, Denmark, Germany, Ukraine
8. Bengal, Ireland, England, Philippines, Russia, Scotland, South Africa
Netherlands is the only country I have been to so far where finding good food outside of fine dining was a considerable challenge. Food culture (including home cooking) is pretty much non-existent, people eat to survive, and have low standards. Effort to make food enjoyable is usually reserved for fine dining and for sweets. Dairy products and sweets is what saves the Dutch cuisine for me.