From the Biography of Saint Antony Mary Claret:
He was born at Sallent in Catalonia. After becoming a priest he spent several years preaching to the people throughout Catalonia and also in the Canary Islands. Returning to Spain, he established a missionary order, and founded a great religious library and publishing house in Barcelona which published millions of cheap copies of ancient and modern Catholic works. In 1851 the Pope appointed him Bishop of Santiago de Cuba. The diocese was in a terrible state and everything needed reform and renewal. He reorganised the seminary, enforced clerical discipline, and regularised thousands of marriages. He built a hospital and many schools. This was not done without opposition and he was the subject of fifteen assassination attempts.
Note the last line. Doing the right thing won't necessary win you safety, comfort, or popularity.