They found out about the ban one day before the tournament started - so you are right they would have lost a lot of money. Now they have a whole year to find a new venue.
Dubai will lose out in prestige, other sports will now reconsider hosting events in Dubai if they can not guarantee smooth running of events.
So Dubai will lose out financially over time. But hey they made a stand and have to live with the fall out.

"Deaths in the Bible. God - 2,270,365
not including the victims of Noah's flood, Sodom and Gomorrah, or the
many plagues, famines, fiery serpents, etc because no specific numbers
were given. Satan - 10."