Example. Close integers [0096]
Consider the relation on integers given by \{(a,b) \mid |a - b| \leq 1 \}. In other words, a and b are related when they are “very close”, that is, the distance between them is at most 1. This is reflexive and symmetric, but not transitive, so it is not an equivalence relation.