The hydroxide ion is a good nucleophile that also is a strong base. Strong bases tend to favor the elimination reaction.