This is a metaphor because its meaning is not literal, we need to interpret and understand the phase according to its context.
This quote might make reference to how we follow others and we repeat things many times without pay real attention. We tend to create habits to confirm others.