Delivery driver loses job because of ‘foolish’ decision