Depends on how you plan your travel, I planned it for 6 days covering all the major places such as Burj Khalifa, Dow Cruise evening, Ferrari Park in Abu Dhabi (You can plan it for a day and hire a car) etc. If you want to know more, then i am also sharing the link of my website where i have shared my experience in detail.
https://prannoynaskar.blogspot.com/2021/09/how-to-plan-budget-trip-to-Dubai.html