This thesis mainly introduces how to influence economic variables through the mechanism of free entry and exit of firms and the decline of endogenous products when facing the expansion of fiscal expenditure in general equilibrium. When it faces a shock of positive government spending, firms will be more productive and earn much more profits because government spending has a positive external effect on firms. In this way, households increase consumption and provide more labor supply as well as increase total output. We explore the external effects of different government expenditures, the persistence of shock of government spending and the impact of different parameters on economic variables. We also discuss the volatility ratio of firm entry and output, the correlation between consumption and output, and finally we compare the differences between models and reality.