The 5 in "Ryzen 7 5800X" does not stand for 5th Gen CPU. This is the case with Intel, but not with AMD.
Ryzen 7 5800X = Zen 3 = 3rd generation
And instead of using very imprecise specifications such as "supports generation x". It is better to check with the manufacturer of the motherboard. For each board, there is a list of exactly which CPUs are supported, including the necessary BIOS version. For this one, for example,
https://rog.asus.com/ch-de...
And another money-saving tip. If you buy the parts individually instead of the set, you currently save 39.-. This happens very often with sets put together by Digitec itself.