Manusmriti
आयतिं सर्वकार्याणां तदात्वं च विचारयेत् । अतीतानां च सर्वेषां गुणदोषौ च तत्त्वतः ॥ १७८ ॥
Let him fully consider the future and the immediate results of all undertakings, and the good and bad sides of all past (actions).
english translation
AyatiM sarvakAryANAM tadAtvaM ca vicArayet । atItAnAM ca sarveSAM guNadoSau ca tattvataH ॥ 178 ॥
hk transliteration by Sanscript