“Men are all the same” is a belief that will cause a person to attract the same type of person. The comment is not accurate, but it will be true for the person that believes it.
Remember, you attract that which you put out into the world. If your thoughts are “Focused” on a particular type of “man”, then you will only bring a person with those qualities into your life.
If you want different, then you have to take what you “don’t want” from past experiences and get clear on what you “do want”. Then spend your time focused on what you “do want” and a “different” individual will show up.