Future net worth depends on how home is financed

Will I be wealthier if I pay cash or take out a mortgage?