Deductions & credits

Hi I purchased a Tesla model Y in January, 2023 and I was planning to sell in April, 2023.  And I purchase another Tesla model Y in 2023.  Would I be still eligible for the IRS 7,500 federal credit for both vehicle?  I purchased both vehicle for my personal use but I would sell the first one since the vehicle was making noise.  I would appreciate for your expert advice.