If you dont want to lose money in divorce, why not invest it in your children?

If you divorce, but the money belongs to your kids your ex can't get away with it. Why is this not the default marriage strategy?
If you dont want to lose money in divorce, why not invest it in your children?
Post Opinion