A critical aspect of healthcare reforms in various countries revolves around the relationship between efficiency, quality, and competition. Exploring the spatial dimension of competition is essential to understand this connection thoroughly. In this study, we develop a theoretical model that examines hospitals' choices regarding quality and cost-containment efforts across different competitive environments characterized by varying spatial distributions of hospitals. We derive and fully characterize hospitals' reaction functions and Nash equilibria concerning quality and cost-containment efforts. Our findings reveal that while localized competition tends to reduce hospitals' efforts in cost containment, its impact on treatment quality can vary. This variation depends on factors such as the cost of delivering quality care, its benefits to patients, and hospitals' objectives, including their level of altruism. Our findings contribute to the ongoing debate on the role of local competition in healthcare. They offer insights into the conditions that could yield divergent outcomes, often advocated by conflicting perspectives. These conditions serve as a foundation for refining competition policy models in healthcare.