Background: Microbial derivatives are pivotal in research because of their structural heterogeneity and diverse biological significance, including antitumor and antimicrobial activities. Aims and Objectives: This study aimed to evaluate the molecular characterization, antibacterial effects on multidrug-resistant (MDR) gastrointestinal pathogens, and potential anticancer activity of soil bacterial isolates. Methodology: Two bacterial isolates, Bacillus subtilis (B. subtilis) and Bacillus paralicheniformis (B. paralicheniformis), were characterized for their metabolic profiles and antimicrobial efficacy. Evolutionary relationships were determined using Sanger sequencing and MEGA-7 software. Secondary metabolites were characterized using Gas Chromatography–Mass Spectrometry (GC-MS), potentially contributing to the development of novel therapeutic agents. Results:B. subtilis and B. paralicheniformis were identified as microbial strains, with 11 and 28 compounds isolated from their extracts, respectively, and evaluated for their efficacy against gastrointestinal pathogens. The extracts also demonstrated potential anticancer effects, with significant DPPH-scavenging activity. B. subtilis exhibited higher Superoxide Dismutase (SOD) activity, suggesting the presence of antioxidant bioactive compounds. This study also documented alterations in the apoptotic and anti-apoptotic gene expression patterns in HCT-116 cells treated with the extracts. Notably, the increase in BAK and BAX expression suggests a possible link to the apoptotic response in HCT-116 cells. Conclusions: This study highlights the diversity of bacterial communities in soil that produce numerous secondary metabolites with therapeutic potential, including antibacterial and anticancer properties.