The longer wire (being also thicker) has less resistance and is therefore wasting less power as heat, that’s where the Voltage drop is going.
Sure, most of the time it’s fine if you know what you’re doing, but that’s why it’s general wisdom and not a hard rule, like “don’t put metal in the microwave”, it’s said to protect those that have no idea what they’re doing/why the saying exists