What is the meaning of [It ain’t over till it’s over]

“Do not anticipate the end of something; specifically, do not give up hope until you have actually lost or failed.”,Manser, Martin H. (2007). The Facts on File Dictionary of Proverbs. Infobase Publishing. p. 152. ISBN 978-0-8160-6673-5.