@none001 Ok, I yell about this to everyone who will listen.
There is such thing as male privilege, and you should work to undo the idea that just because of someone's gender, they are better or worse at work because of it. Everyone should be assessed on their skills/abilities, not conditions of their birth.
That said - you are about to have a family and now is the time to lean into it. People LOVE a hardworking Dad. People love a man who works but also has kids. People love to hear about a new Dad who loves his kids.
There is a slight against young men in the workplace that they are perceived as less mature and distracted (they just love their videogames and cartoon shows!) but once you have a kid, suddenly you are more respectable and serious. After all... someone who can have a kid can't be a child themselves, right?
I'm telling you - I was in the process of being fired when my first child was due. I took two weeks completely no contact, and this was a huge company with a 24/7 hustle culture and before parental leave included men, and when I came back people treated me like I suddenly knew what I was talking about and was worth listening to and if I was late with something they just said "Oh, he is probably tired with a newborn at home!"
Later, when my older kids were born (and I was in a much better place professionally), I was worried because I was a key member of the team and a lot was legitimately riding on me, so I figured either everything goes tits up and that's a problem, or everything goes fine and it turns out they don't need me as much as they think. The fact of the matter is that neither really happened - they got on ok without me but also realized they really did better when I was there.
The thing is, especially with your first child, the early part is just a series of "OMG WTF AHHH" moments. It is hard, it is a shock to your system, it is a complete upheveal of your life. Its a great time to be 100% present. Take the time - its worth it, and I promise it will only enhance your career.