I agree. While I can understand why some foreigners prefer Osaka over Tokyo (people are more open/friendly by Western standards), I think Tokyo is a closer representation of Japanese people: orderly, reserved, clean and polite; it's also what I prefer. Osaka is absolutely dirtier than Tokyo in terms of trash on the street (although still clean by international standards).
Food wise, Tokyo is definitely the better city, for cheap or expensive food. There are plenty of Michelin or Tabelog highly rated restaurants that's somewhat easy to book in Tokyo, while Osaka has much less options and even moderately well rated ones are often completely booked out months ahead.
Location wise, if I wanted to stay in Kansai, I'd take Kyoto over Osaka. It's easier to get to other cities nearby (I'm thinking Nara, which I love, and not for the deer), and it has both traditional and modern stores and areas. Basically everything I need.