If Ubuntu 22.04 LTS allows the user to select passwords based on dictionary words, then this increases the chances of password compromise by increasing the opportunity for successful guesses and brute-force attacks.
Check
Verify Ubuntu 22.04 LTS prevents the use of dictionary words for passwords by using the following command: