Discontinued models a good Buy?

We are looking into getting 2024 Toyota Venza. We found out that this will be the last year that this vehicle is being made. Any drawbacks with buying a car that will no longer be made? Would June / July be too late to get the exact vehicle we are looking for?