Betting or Investing? Maximizing Returns with a Purpose