Note that in-state public affordability for middle income families can vary considerably by state. CA is one of the better ones for this purpose. PA is an example that someone would use to make the opposite claim.
CA is also one of the better states for starting at a community college and then transferring to a university. PA is a state where the community college equivalent to transfer to the flagship system is the significantly more expensive branch campus system of each flagship system university.