Contracting cancer typically induces a state of terror among the individuals who are affected. Exploring how glucose excess, estrogen excess, and anxiety work together to affect the speed at which breast cancer cells multiply and the immune system’s response model is necessary to conceive of ways to stop the spread of cancer. This paper proposes a mathematical model to investigate the impact of psychological panic, glucose excess, and estrogen excess on the interaction of cancer and immunity. The proposed model is precisely described. The focus of the model’s dynamic analysis is to identify the potential equilibrium locations. According to the analysis, it is possible to establish four equilibrium positions. The stability analysis reveals that all equilibrium points consistently exhibit stability under the defined conditions. The transcritical bifurcation occurs when the glucose excess is taken as a bifurcation point. Numerical simulations are employed to validate the theoretical study, which shows that psychological panic, glucose excess, and estrogen excess could be significant contributors to the spread of tumors and weakness of immune function.