He bet for 40 days and won $13,000