Not always, as I wrote in another comment this is because of the Japanese script reform for "modernising" and simplifying the script. So sometimes kanji look similar but are not. More info at: https://en.m.wikipedia.org/wiki/Japanese_script_reform#Mazeg...