Do not make plans that depend on something good happening before you know that it has actually happened
The thought was recorded in print by Thomas Howell in New Sonnets and pretty Pamphlets, 1570: Counte not thy Chickens that vnhatched be, Waye wordes as winde, till thou finde certaintee