Ok i will be coming from a different perspective to answer this.
Loneliness in Dubai, just like any other place is based on individual experiences. But that being said, most if not all will agree with me that dealing with loneliness in Dubai (when not on vacation) is bound to come and when it does is really bad. And all most all this kind of feeling comes due to different factors. Which to me is
1.NO MONEY!
2. Workplace structure or politics
As sad as it is, it is the truth. Having money would indeed kill your loneliness in Dubai. You may disagree with me, but hear me out first. Money will bridge the gap of loneliness because, mostly when you come to Dubai is either you come for a vacation or for a job. Now once you come in purposely for a job, all you did find yourself doing is applying on the web and constantly walking around offices to push your luck in. At this point, all you did be thinking is getting a job, so loneliness will only hit you on the low, when you are on the way home and you see couples or friends talking to each other, cracking jokes and what not.
But, this low point will change to a high as soon as you land a job and you now working 8am-6pm. And that is when my point of money comes in. How much are you making? How much are you saving? How much are you sending to family? How much are you spending on food and travel etc. Due to you trying to save, you tend to want to live a low key, hence your trips are to shopping malls and recreational facilities like The Dubai Fountain and that just makes you even more lost socially, cause during your walking you will see stuff you did like to pay and try or cafes you did like to sit or restaurants you did like eat, but can't do. I was asked a friend if he did been to the Dubai Miracle Garden and he told me, he has heard of it, but can't just get enough to commute there.
And this life style am describing here is a lifestyle of a common office employee earning at least 3000 AED. There are individuals in a more low class of jobs, such as labourers paid so little that leaving their accommodation unit provided by their company is just impossible. All one can do, is top up their phone to bundle internet data and call their loved ones where ever they are and crave for some love. Lets also put in mind that some of these workers are delayed in payment of their wages.
The question then is where is the money to meet up with someone? where is the money to go to the movies, play games, buy a T.V ( you don't even have your own room) etc. Dubai is an expensive place and so without the "fulus" ,feeling alone is something you sleep on.
2. Where you Work will also take a troil on you feeling alone or not. If you work with toxic colleagues who only share or talk to their own ethnicity and are not open minded. You did find yourself so much alone, you will have several days you did just want to calll it quits and resign. Favoritism and ethnic groups are highly practiced sometimes in workplaces which is very much not health. The question here is, if you can't make friends at work place in Dubai where else can you. All you can do is marry your work and that just leads to depression.
Overall, what i will say is- even though loneliness is based on individual circumstances. In dubai i have worked in a company where i was fortunate enough but i meet and saw people who were not, and had to deal with loneliness in different forms. That being said. I believe happiness is found within oneself and hence if ever one feels alone, try as much as possible to create a sort of happiness for yourself. Being it reading, home exercise, writing, telling jokes to friends, singing alone etc. do it and you will not feel alone.
Cheers!