The gods help them that help themselves.
Aesop (620?-560? BC) Legendary Greek storyteller
Fables [Aesopica], “Hercules and the Wagoner” (6th C BC)
(Source)
Alternate translation: "Heaven only aided those who endeavoured to help themselves. It is in vain to expect our prayers to be heard, if we do not strive as well as pray." [tr. James (1848)]