I don't get how drinking and driving is illegal when bars exist

90% of people who leave bars drive drunk. so what's the purpose of making it illegal
She was the best man