Microbial symbionts associate with multicellular organisms on a continuum from facultative associations to mutual codependency. In the oldest intracellular symbioses there is exclusive vertical symbiont transmission, and co-diversification of symbiotic partners over millions of years. Such symbionts often undergo genome reduction due to low effective population sizes, frequent population bottlenecks, and reduced purifying selection. Here, we describe multiple independent acquisition events of closely related defensive symbionts followed by genome erosion in a group of Lagriinae beetles. Previous work in Lagria villosa revealed the dominant genome-eroded symbiont of the genus Burkholderia produces the antifungal compound lagriamide, protecting the beetle's eggs and larvae from antagonistic fungi. Here, we use metagenomics to assemble 11 additional genomes of lagriamide-producing symbionts from seven different host species within Lagriinae from five countries, to unravel the evolutionary history of this symbiotic relationship. In each host, we detected one dominant genome-eroded Burkholderia symbiont encoding the lagriamide biosynthetic gene cluster. However, we did not find evidence for host-symbiont co-diversification, or for monophyly of the lagriamide-producing symbionts. Instead, our analyses support a single ancestral acquisition of the gene cluster followed by at least four independent symbiont acquisitions and subsequent genome erosion in each lineage. By contrast, a clade of plant-associated relatives retained large genomes but secondarily lost the lagriamide gene cluster. Our results, therefore, reveal a dynamic evolutionary history with multiple independent symbiont acquisitions characterized by a high degree of specificity, and highlight the importance of the specialized metabolite lagriamide for the establishment and maintenance of this defensive symbiosis.