Those beetles 🐞 are just horrible.
It's always good to occasionally check up on your seeds and as well place the seeds in tough materials that the beetles can't easily chew through or simply glass as he has wisely stated , also air tight containers.
A very similar case happened with our wheat seeds though I don't have a picture of it here.
I'm so sorry about your seeds Sir and thank you for sharing @papa-pepper and I hope people take lessons from this.