Should I let baby sleep through the night?

Some people say to let your baby sleep through the night some still wake they’re baby up every few hrs to feed them. My LO will sleep all night and wake up around 9am. Last night he slept a whole 10 hrs before waking up to eat. Is that to long of a gap of him not eating? How many hrs should I let him go till I should wake him up to feed? He is gaining weight so that’s not a issue and he eats around 24-28 oz during the day.