A method for treating an individual suffering from a chronic infectious disease and who has cancer employs a CRISPR system to selectively kill or reduce the numbers of pathogenic bacteria within the individual and the individual is then administered an immune checkpoint inhibitor. In particular embodiments, the pathogenic bacteria is one of E. coli, Pseudomonas aeruginosa and Klebsiella bacteria, and the checkpoint inhibitor is selected from the group consisting of nivolumab, pembrolizumab, pidilizumab, AMP-224, AMP-514, STI-A1110, TSR-042, RG-7446, BMS-936559, MEDI-4736, MSB-0020718C, AUR-012 and STI-A1010. Further embodiments include enhancing the growth of a second bacteria in the individual, such bacteria including Akkermansia, Bacteroides, Bifidobacterium, Clostridium, Enterococcus, Fusobacterium, Coprococcus, Lactobacillus, Propionibacterium, Ruminococcus, Veillonella, Prevotella, Escherichia and Streptococcus. The CRISPR system may include Cas9, Cpf1 and Cas3, and may be delivered using a bacteriophage.