All matters on how much you do earn because even if you do live on a first world country but if you dont have any decent job or source of income then your standard of living or status would still be that hard.
thats why its really important that you would really be having a decent income or source to live a comfortable life. Despite of country conditions in terms of economic but still there are people who do live
a decent living because they could able to support theirselves which means that this wont really vary or matter much most of the time.
There are small differences, homeless over here have more access to food. Whether that's people giving it to them i.e donating or
dumpster diving. The fact is, in Western countries food is tossed away even when it's marginally out of date or has something wrong with it. It most likely is safe to eat still, but because of strict selling laws, they can't legally sell it.
In third world countries you aren't going to get as much access to that as you would in a first world country. Besides that, there's also more help in first world countries, government schemes, soup places, and various other things have been setup. It isn't perfect don't get me wrong, and there's plenty of people struggling, but when you compare the living conditions, it's likely it's slightly better in a first world country.
Not that it makes that much of a difference if you're in that situation mind, both will feel absolutely awful, and it's quite shocking we don't do more to avoid it.