A sentence with the word example in it?

example can be as followed. I want to set an example in the society.

For example, the cat is a mammal.

The teacher gave the class an example.

He was an example of a model citizen.