Has anyone been told they have to have a csection due to baby being big but baby wasn’t big after birth?

My obgyn is telling me that if I don’t have the baby on my own before 37 weeks I need to have a csection because she’s too big. I known ultrasound measurements can be way off though. At 34 weeks she was measuring 37 weeks and 7 pounds 8 oz.