See this support article about recommended settings for Wi-Fi routers and access points
Click here --> Recommended settings for Wi-Fi routers and access points - Apple Support
"WPA3 Personal is the newest, most secure protocol currently available for Wi-Fi devices. It works with all devices that support Wi-Fi 6 (802.11ax), and some older devices.
WPA2/WPA3 Transitional is a mixed mode that uses WPA3 Personal with devices that support that protocol, while allowing older devices to use WPA2 Personal (AES) instead.
WPA2 Personal (AES) is appropriate when you can't use one of the more secure modes. In that case, also choose AES as the encryption or cipher type, if available."
Change the settings on your router to a minimum of WPA2 Personal (AES) if possible. You may be able to set them higher which is okay as long as you do not have any older hardware also needing to connect to your router that cannot use these settings. Your security settings will also be limited by what your model router will support. It may not support higher security settings or may require a firmware update before doing this.
You configure a router by logging into it with a web browser. This is not something you do with settings on your Apple hardware. Review your router user manual for instructions. If you have not changed the password it may be printed on a label attached to the router. This password is not the same as the one you use when connecting to wi-fi.