You do not have to keep your geodatabase and ArcGIS clients at the same release, but it is recommended that you do so. Geodatabases and client software are designed to work together, and if you let one get too many releases away from the other, you risk encountering problems or unexpected behavior.
https://enterprise.arcgis.com/en/server/latest/manage-data/windows/client-geodatabase-compatibility.....