If I had not been accepted into college out of high school (and I’m sure I came very, very close) I probably would have gone the same route as you. My state even has a program where if you get good grades at a community college for 2 years, you can transfer to a state university and also get a huge discount on tuition (effectively paying community college prices to attend a flagship state university).
For -some- futures, doing the first year (or two) in a CC can be a better choice. Getting required electives out of the way, for example, probably at a lower cost. Getting feet wet and all the Frosh experiences out of the way.
OTOH, the competition and expertise attracted by a 'flagship' can be motivating and invaluable, from the get-go ... the opportunities to explore far more numerous ... not to mention the more diverse cultural and relationship environment.