Immanuel Kant said this quote

Imitation finds no place at all in morality, and examples serve only for encouragement, that is, they put beyond doubt the feasibility of what the law commands, they make visible that which the practical rule expresses more generally, but they can never authorize us to set aside the true original which lies in reason, and to guide ourselves by examples.