Not peeing an hour before an appointment

Does anyone know why they say not to pee and hour before a prenatal appointment. I know they take a urine sample but it’s not like I don’t pee every 20 min anyways 😂

I could pee before I leave my house and by the time I’m back in a room I’m about to pee my pants. 🤷🏼‍♀️