Protecting your wealth in good times and bad