No, if you saved up $500k you would pay $0 in taxes because that's not capital gains. If you happened to hit the jackpot and win on the stock market with your investments bets to the tune of $500k in gains, then you would pay $333k in taxes from your stock market lottery winnings.