It's a myth that Amazon's prices are competitive. One vendor I know sells his product through Shopify at a steep discount compared to Amazon and yet most of his revenue comes from Amazon. Amazon benefits from multiple things including their brand image as a competitively priced store, consumer trust, brand awareness, Amazon Prime members who get shipping "free", massive user data, etc.