Great point, this was missing in the OP, I was sacked at a job because I was not doing well and then I was trading even during work hours. Got another one and it almost had a repeat of the former, so I knew instinctively is time to stop so I'm not totally destroyed by it. I had issues focusing on any other productive task once I've placed my trade, I'll keep monitoring it's performance and exit early enough when I'm in profit. I had so much peace stopping trading and my career improved. Trading was not just for me as I struggled to keep my emotions in check.
Good thing that you acknowledged that it was your fault and that trading wasn't a good fit for you because you couldn't have a full control over your emotions, this is exactly what people need to understand; if you are a very emotional person and you know that you can't control your emotions, you shouldn't get into trading, because trading can disturb everything else that you do in your life because your mind won't be able to focus on other things that you are doing as long as you are trading.
Another mistake that made was to make trades during your work hours, which is not a good practice. When you already know that you have no control over your mind and emotions, you shouldn't do it during a time when you are doing something else which requires your focus. You should have been making your trades in your free time and not when you were working, mixing two things can always create problems, no matter how good you are at both.