dǔ​shǐ​zhī​zhōng

to see the end from the beginning