When I started working in software I took a job in a city different than mine, so I had to go there to live alone, and the job was by myself in a room with no windows. Most lonely 2 years of my life.
On the other hand, I wasn't working in software but after I moved country, I managed to get my foot into the industry, and it opened up my social life like nothing else, as finally I had people around me who also like software development, something I never experienced for ~18 years or so until I did a drastic move.
This is my life. I drive to the office 5 days per week to sit in a tiny windowless room. I have meetings with Europe in the morning and meetings with India in the evening. The rare time I need to talk to someone in the US, they are in a different building so we talk through Teams.