I think that there is some confusion in the comments about the meaning of setting a good example in English. It is completely different from giving a good example. I set a good example if I live in a way worthy of imitation. I give a good example if I offer you an example that helps you understand something. Eg the example I gave about the lost cause myth in the US South helped you understand how Hungarians feel about the treaty of Trianon.