Buying a car to sell it when something more interesting comes up

From your experience is it wise to buy a car with the intention of selling it. We’re far away from 2025 when a few new cars are coming. I plan to get Toyota Camry 2024 SE Hybrid or Corolla SE Hybrid, but I can’t hold out and wait for the 2025 Camry to come out and I am in bad situation since my Hyundai Sonata got stolen.