Per the
MongoDB Official Support Policy, drivers released more than 3 years after a MongoDB Server version's end of life date should not be considered supported, and may no longer be compatible with that server version.
"Compatibility" in this case implies support for that server version hasn't been explicitly removed from the driver, so your application should continue to connect and operate as expected.