I'm presently translating one of the earliest sūtras to be translated into Chinese. It is called the Sūtra in Forty-Two Sections《四十二章經》, which is basically a collection of quotes from the Buddha neatly packaged as a single text. It actually reminds me of the Dhammapada in some ways. It is a Śrāvakayāna text.
I'm wondering if the following quote corresponds to anything in the Pali canon?
The Buddha told the monks, “Be careful not to trust your thoughts as those thoughts ultimately cannot be trusted. Be careful not to meet with physical desires, as meeting with physical desires will see misfortune born. It is only when you attain the path of the Arhat that you can trust your thoughts.”