In "purposes", the first "s" is a soft "s" and the second "s" is a "z" sound. In "houses", they are both "z" sound. The value of the vowel is debatable or variable.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.