This is what I did, and it worked perfectly.
On Amazon, search for an Intel 9260 wifi card.
Download the Proprietary Firmware directly from kernel dot org.
https://wireless.wiki.kernel.org/_media/en/users/drivers/iwlwifi-9260-th-b0-jf-b0-34.618819.0.tgz
Download firmware-iwlwifi directly from debian dot org
http://ftp.us.debian.org/debian/pool/non-free-firmware/f/firmware-nonfree/firmware-iwlwifi_20230625-2_all.deb
After you have the files, you can make the changes to your system. Install the software before you shutdown the laptop to install the hardware.
Copy the files in the in the kernel driver file you downloaded from kernel dot org into the /etc/firmware folder first. Then just double click the .deb file in your file manager. You will be prompted for the root password and the software/firmware will be installed to the kernel.
After the two files have been installed, you can shutdown the laptop and install the hardware.
Boot the laptop and enjoy your new hardware.