What did Napoleon mean when he said 'Give me good mothers and I will give you a good nation'?

The statement implies that a proper upbringing is needed to have a proper society.

Napoleon, or whoever may have said it, implies that any country where the mothers are devoted to their children would be able to produce a stable and successful society. He is similarly credited with saying "Let France have good mothers, and she will have good sons."