lay a bet vs try one's luck on the horses

lay a bet

try one's luck on the horses

How often have the words lay a bet and try one's luck on the horses occurred in a corpus of books? (source: Google Ngram Viewer )