This is a famous saying of Benjamin Franklin, meaning if you go to sleep early and wake up early you can get rich! Sometimes we just use the first half of this expression to mean the same thing.
A: How have you been so successful in your career?
B: I get up early every morning. You know what they say “Early to bed, early to rise…”