10 year old diapers are still okay to use.
Diapers don't really expire although they can become brittle overtime due to the diapers being plastic but diapers at 10 years old are still pretty new and okay to use.
Diapers are best used within a few years of purchase but they are still okay to use well past that.