Sleep

When my daughter was born, the doctors and nurses said to wake baby up every 3 hours to feed. I'm confused with how some of the ladies on here say that their babies sleep through the night?! Am I missing something?

I'm a first time mom. I'm just wondering, not judging!