Amazon shipping and logistics are heavily subsidised by the social contract in Western Countries - it's not remotely a fair comparison even if these were removed based on Amazon's effective corporate income tax rates coming in as low as 1.4%.
In the US alone Amazon has received over $11 billion in cumulative taxpayer subsidies, and governments spend an average of nearly $43,000 per fulfillment center job created.
This is ramping up exponentially with regard to their data center rollout. In a single instance in rural Oregon, five AWS data centers will avoid $1 billion in property taxes.
This is completely aside from the qualitative damage done to traditional retail, shopping districts as a whole, SME innovation on consumer products, and distorting market competition beyond all recognition.