Many people make the mistake of quitting their jobs when they are starting a business or making an investment because they anticipate they aren't going to need the job anymore, but who knows? You might not get the success that you desire from your business or the investment you are going to make, so it's not wise to leave your only source of income for something that isn't yet a reality.
Make such decisions only when you see that your business has started taking off or your investment has started yielding profits, and, the profits from the investment or the revenue earned by the business should be equal to or greater than what you are earning from your job, that is when you can decide on quitting your job and focusing full-time on the other venture.