Why would you do that? Then, there would be nothing to be spent by you.
Just invest those you think you can afford and have something left for yourself and for emergency purposes. That is not how investing should be. It is suicide. Actually this is a dumb question but I think you need some light.
Good advice indeed. A simple strategy of Warren Buffet regarding investment is never keep all of your eggs in one basket. Diversification minimizes risk. Therefore I never invest more than 50% of my fund in crypto market. I have some other investments too like stock market.