That’s why the warranty exists. If something arrives broken then the company hasn’t actually fulfilled their obligation of sending you the product you ordered in the first place, but that doesn’t mean a refund, but a replacement product. It also circumvents any “we’ll give a refund but not for the shipping cost” or “we send the replacement but you have to cover the shipping” bullshit - they didn’t send what you ordered, it’s their responsibility to fix it until you have it working on your hands.
That’s why the warranty exists. If something arrives broken then the company hasn’t actually fulfilled their obligation of sending you the product you ordered in the first place, but that doesn’t mean a refund, but a replacement product. It also circumvents any “we’ll give a refund but not for the shipping cost” or “we send the replacement but you have to cover the shipping” bullshit - they didn’t send what you ordered, it’s their responsibility to fix it until you have it working on your hands.