Yes, United Arab Emirates did well towards the end, but due to their poor performance in the beginning, they came at the last minute and lost the match by such a small number of runs. I think if they had got just one more ball, they could have easily hit a 4 and won the match. Their final loss of just 4 runs is very sad for them. Although they have already lost the series, but if they had won this match, their series would not have ended without a win, but right now they have ended the series without a win. Anyway, best of luck to Pakistan and Afghanistan for the final match of the series.
The United Arab Emirates had a lot of factors working to their advantage. They had the home advantage, and they were playing against two teams who were not in full strength. A win would have further enhanced their reputation among the associate nations (right now they are struggling in the League 2 and are at the bottom of the points table). Anyway, with ACC opting for UAE as the neutral venue for matches between India and Pakistan, I am sure that they will get a lot of opportunities to play against the full members in the near future.