It’s not super clear what you’re doing. It’s possible that the wrapper you’re checking was generated by a different version of Gradle and so it won’t match the checksum of 6.5.
This might help:
https://docs.gradle.org/current/userguide/gradle_wrapper.html#troubleshooting_a_checksum_mismatch