To avoid adversaries from guessing the key using a brute-force attack, the key space is usually designed to be extremely large.
To stop hackers from guessing the key using a brute-force attack, the key space is made  very large.