To explore more efficient and less toxic antibacterial and antifungal pesticides, we utilized 2,6-difluorobenzamide as a starting material and ultimately synthesized 23 novel benzoylurea derivatives containing a pyrimidine moiety. Their structures were characterized and confirmed by 1H NMR, 13C NMR, 19F NMR, and HRMS. The bioassay results demonstrated that some of the title compounds exhibited moderate to good in vitro antifungal activities against Botrytis cinerea in cucumber, Botrytis cinerea in tobacco, Botrytis cinerea in blueberry, Phomopsis sp., and Rhizoctonia solani. Notably, compounds 4j and 4l displayed EC50 values of 6.72 and 5.21 μg/mL against Rhizoctonia solani, respectively, which were comparable to that of hymexazol (6.11 μg/mL). Meanwhile, at 200 and 100 concentrations, the target compounds 4a–4w exhibited lower in vitro antibacterial activities against Xanthomonas oryzae pv. oryzicola and Xanthomonas citri subsp. citri, respectively, compared to those of thiodiazole copper. Furthermore, the molecular docking simulation demonstrated that compound 4l formed hydrogen bonds with SER-17 and SER-39 of succinate dehydrogenase (SDH), providing a possible explanation for the mechanism of action between the target compounds and SDH. This study represents the first report on the antifungal and antibacterial activities of novel benzoylurea derivatives containing a pyrimidine moiety.