Depends a lot on what you like, what your hobbies are etc.
For example if you like not being miserable, don't go to Munich, people there suck (in my experience, and also the experience of all my German and Dutch friends, Munich people are on average less friendly compared to people in other big cities, of course there are friendly and rude people everywhere).
Stuttgart is the ugliest place in Germany and everyone who lives in Frankfurt is either an investment banker or a heroin addict (or both).
So among the big cities, I'd probably recommend Cologne or Hamburg. Cologne people probably have more local pride overall (as in, they all identify with their city a lot, doesn't mean they don't accept outsiders or foreigners, they tend to be very open, unless you're from D*sseldorf), and they are crazy about football and their local football club. While football is also pretty big in Hamburg, if you do like football, Cologne is probably one of the best places to be, because NRW (the state that Cologne is in) has a very high density of fairly successful football clubs. Cologne also has the Gamescom every year, idk if you're into that. I haven't been to Hamburg much at all, so I can't really say much about it tbh.
Do you speak German?