This is an aphorism from my aphorism book.
절에가면 중인체 촌에가면 속인인체
jeol·e·ga·myeon jung·in·che cheon·e·ga·myeon sok·in·in·che
temple-IN-go-WHEN monk-be-PRETEND village-IN-go-WHEN commoner-be-PRETEND
When in the temple, make like a monk, when in the village, make like a commoner
Essentially, this is equivalent to the English aphorism “when in Rome, do as the Romans.” I have been a fairly loyal practitioner of this style of behavior, I think – at least, to the best of my ability.