Fenugreek (Trigonella foenum-graecum L.) is a traditional medicinal plant for treating human diseases that is widely cultivated in many countries. However, the component and related metabolic pathways are still unclear. To understand the changes in expression of the component and related genes during seed development, this study employed metabolomic and transcriptomic analyses and integrative analysis to explore the metabolites and pathways involved in the growth of fenugreek. The antifungal activity of the fenugreek seeds was also analyzed. A total of 9499 metabolites were identified in the positive ion mode, and 8043 metabolites were identified in the negative ion mode. Among them, the main components were fatty acyls, prenol lipids, steroids, steroid derivatives, flavonoids, and isoflavonoids. Among these enriched pathways, the top 20 pathways were “flavone and flavonol biosynthesis”, “isoflavonoid biosynthesis”, and “flavonoid biosynthesis”. 3,7-Di-O-methylquercetin, flavonoids, pseudobaptigenin, isoflavonoids, methylecgonine, alkaloids, and derivatives were the most significantly upregulated metabolites. There were 38,137 differentially expressed genes (DEGs) identified via transcriptomic analysis. According to the KEGG pathway enrichment analysis, 147 DEGs were significantly enriched in “flavonoid biosynthesis”. Ten DEGs of the six key enzymes were found to be involved in three pathways related to flavonoid and alkaloid synthesis in fenugreek. The antifungal activity test revealed the inhibitory effect of the ethanol extract of fenugreek seeds on Alternaria tenuissima (Kunze)Wiltshire and Magnaporthe oryzae. These findings further prove that the use of botanical pesticides in fenugreek fruit has research value.