In this couplet
Idle people: refers to irrelevant people.
A sage: a person who is talented and virtuous.
A thief: a person who steals opportunities and plays tricks.
A Taoist: refers to someone who shares the same path. People.
The beauty of this couplet is that it takes advantage of the characteristics of homophones and polysemy in Chinese characters.