There are several ways to check the version of the Debian Linux. Here is one of them that will give you the correct information.
root@laptop:~# cat /etc/debian_version10.2