How does it compare to be a soldier on deployment from the USA or another country, as opposed to being an infantry soldier in Ukraine right now - IE; Being a Russian soldier?

It seems the Americans had an easy time in Afghanistan / Iraq in comparison, fancy bases, intelligence, air support constantly, nice equipment. As opposed to a Russian soldier sitting in a foxhole for days, weeks, months with limited gear. Often engaging in close quarters combat same with the ukraine soldiers who have a tough time as well.

How would the US army handle such a situation? I am genuinely curious on replies from veterans. It looks far scarier from an outside viewer when looking at the war in ukraine.