cost of living vs investing