Repetition affects perception.
For example, a "wrong note" played once might sound like a mistake. If you do it the same way three times, listeners will realize it's intentional, but it might come across as irritating. But if you do it 12 times, it might be a distinctive hook anchoring a memorable song.
Listeners who don't like a particular groove might complain that a song is "too repetitive," but those same listeners will like other songs that are just as repetitive, but that are in a different style that they feel more comfortable with.
There's no rule to tell you how much repetition is "right." It depends on the specifics of your song and your musical elements, and also on your audience and the context in which the song will appear.