means that
prolonged exposure to a different environment does not necessarily transform someone's fundamental identity or nature.
When you should be yourself and not try to behave like others., the saying “No matter how long a log stays in the water, it doesn't become a crocodile” is appropriate.