Man whose wife scolded him for buying lotto tickets wins $1M