This is a practice
As full of labour as a wise man’s art,
For folly, that he wisely shows is fit,
But wise men, folly-fall’n, quite taint their wit.

– William Shakespeare

Twelfth Night, Act 3, Scene 1. Viola says that Feste’s wit takes a lot of intelligence and requires as much work as a learned and wise man. The wise, on the other hand, damage their reputation when they try to play the fool. The last line can be read as a reference to Malvolio, who early in the play puts on the airs of an educated scholar but lets himself down badly as he reveals his ambitions to rise above his station.