If you start behaving according to the golden rule even in the face of adverse conditions, over time, it will become a self-fulfilling prophecy, and eventually even people who were hostile to you will mellow down, and will start practicing the golden rule themselves, maybe without even realizing it!