A car, a trip, a deposit — anything you're saving for in the next couple of years is a bad fit for stocks or funds. The problem isn't that they're risky in general, it's timing: the market can be down right when you happen to need the money, and unlike a 10-year goal, there's no time left to wait for it to recover.
Say you're saving AED 18,000 for a car in 18 months. If that money were invested in stocks and the market happened to be down 15% the month you needed it, you'd have around AED 15,300 — short by AED 2,700, forcing you to either delay the purchase or settle for a cheaper car. Kept in a savings account or short-term fixed deposit earning around 3% a year instead, you'd end up with roughly AED 18,500 — the full amount, on schedule, no surprises.
If a near-term goal is flexible — you could push the purchase back a year if you had to — a small amount of growth exposure becomes more reasonable. But if the date and the amount both actually matter, safety wins over growth every time on a timeline this short.
Money you'll need within a year or two shouldn't be in the stock market — it needs to be safe, not growing.