Both are regarded as great choices as a used car, so it will really come down to whether you need the extra interior space of the Camry over the practicality of the Corolla’s hatchback layout. With your budget, you might be able to get into a Camry Hybrid which will reduce running costs around town (which suits your suggested usage pattern) although these early Camry Hybrids can be more than a decade old now, so a close check of the condition of the batteries would be a mandatory pre-purchase requirement. The Corolla, meanwhile, was first seen here in hybrid form in 2016, and those cars are still closer to mid-$20,000, so possibly out of your range. The exception is a grey (private) import Corolla Hybrid, but these can be a bit more of a lottery than a locally delivered Toyota.