Planned c section 37+5

Ni

I've known all along I will be having a c-section but today I got told it will be earlier than planned at 37+5. I've got to go in for scheduled scan on the 19th Feb (4 days before section) and have a steroid injection. Will our baby be OK being born nearly 3 weeks early? Scan today he Weighs approximately 5lb 4oz. My first born was born at 37 weeks ( emergency c-section, no steroid injections) and ended up in scbu for 3 weeks. Will the injections help this baby? He's our miracle rainbow baby and I'm scared it will be to soon for him. Thank you.