I would rather say that the things you mentioned like education, family, health, and your children are more an investment and not so much a gamble.
A gamble is throwing dice and expecting your numbers to show up. It is an investment putting time and effort in bringing your children up the right way. Same thing with education. It's not based on luck but on the time you take to study.