لَيْتَ لِي مَالًا فَأَتَصَدَّقَ
Would that I had wealth so I could give charity.
Wishing is not restricted to impossibilities. One may wish for an attainable thing whose realization is remote. What marks tamannī is the desire rather than confidence of fulfillment.