This is the mistake that newbies make by using the money for their needs to invest in bitcoin, and end up selling part of their bitcoin during accumulating period. You don't have an emergency funds, and you are using the money for emergencies to invest in bitcoin, I hope that you don't end up selling again when the price of bitcoin will not be in your favor and run at loss, maybe that is when you will regret it.
The purpose of investing in bitcoin is to grow it without selling any, no matter the temptation from the market, and that is why it is good to figure out that amount that would not be stressful to you or cause tension to you, and invest with it, so that you can hodli without thinking of selling for a very long period of time. When you are investing, have a bitcoin target and stay focused on achieving it. Although, it might not be easy, but with discipline and sacrifice, and the believe that bitcoin is one of the best assest to invest in for the future. It will be possible.
You have just limited the quantity of your bitcoin, which would have generted a higher profit for you, so what is next, start accumulating now that the price is higher than when you bought those one that you sold...not a wise decision.