https://www.alternate.de/HP/17-ca1212ng-Gaming-Notebook/html/product/1555761?
or
https://preisvergleich.check24.de/allround-notebooks/hp-15-db1224ng-15-zoll-full-hd-amd-ryzen-3-3200u-8-gb-ram-256-gb-ssd-7ke08ea.html?glp=1&wpset=google_pla_shopping_01
and if the upper link laptop is better why is the lower one more expensive?
The first linked notebook has a stronger processor. (Ryzen 5 3500U)
I would recommend that to you with the Ryzen 5, the price difference may be due to the providers are different websites
The upper one has a disadvantage that I would not accept.
Larger screen with lower resolution
The first is more powerful due to the better processor. So I would take it.
The top laptop has a better processor. However, the poorer display.