Cultural note: this sounds like a loose paraphrase of a famous passage in the Bible, from the Book of Ecclesiastes, in the Old Testament. This book is part of the Jewish "wisdom literature" and is traditionally ascribed to King Solomon. This is how it reads in the most famous English translation, the 1611 King James Version, which is written in beautiful but old-fashioned English:
Ecclesiastes 9:11:
"I returned, and saw under the sun, that the race is not to the swift, nor the battle to the strong, neither yet bread to the wise, nor yet riches to men of understanding, nor yet favour to men of skill; but time and chance happeneth to them all."