He has gained enough who gives up a vain hope.