If this dictionary contains the correct password, the attacker will succeed. The attacker tries these passwords one by one for authentication. In this, the attacker uses a password dictionary that contains millions of words that can be used as a password. The most common and easiest to understand example of the brute force attack is the dictionary attack to crack passwords.
If it is larger, it will take more time, but there is a better probability of success. Success depends on the set of predefined values. A brute force attack when an attacker uses a set of predefined values to attack a target and analyze the response until he succeeds.