How do those whose babies sleep through the night do not wake up for dream feedings?

BlissfullySweet • Married to my awesome husband 💑👫 Mommy to my precious boy 💙😘👦🏻and 2 sweet girls 💜💜😘😘🧒🏻👶🏻. Baby #4 (the finale) due August 2021. 👶🏻💙🙏🏼
I'm so confused about this. My son typically sleeps 9:30-8/9am but will wake at 1:30am and around 5am before waking for the day at 8/9am. There's no way he won't get hungry and sleep the whole night. I'm ebf and just don't get it. Those who say they sleep trained...how do you sleep train them to not get hungry and wake for middle of night feedings? Or are they waking for dream feedings and I'm just misunderstanding? 
#exhausted. 😩