First time building a computer, need help with part selection

Hello All,

I am looking to build a computer that would easily last the next 5 years without an upgrade.

My needs are the following;

-at least 3 m.2 slots,

-PCIE 5.0 for GPU and/or SSD (preferably GPU)

-some sense of future proofing

The system would be used for primarily gaming and coding, with the occasional bit of video/photo editing. The resolution of my monitor is 3440x1440p and in regard to gpu I am considering purchasing a 50 series card when they release either the 70 or 80 series. The type of games I play range from the latest triple a releases to easy to run esport games.

I have consulted with my friends and we have collectively come up with some systems which are seen below:

note - all prices are shown in AUD

Intel Options:

14600KF + ROG Z690-A + 32gb of 6400mhz cl 32 = 808

12900KS + ROG Z690-A + 32gb of 6400mhz cl 32 = 917

13700KS + ROG Z690-A + 32gb of 6400mhz cl 32 = 937

AMD Options:

7900x3d + B650 Tomahawk WIFI or TUF X670E + 32gb of 6400mhz cl 32 = 1171 or 1251

7800x3d + B650 Tomahawk WIFI or TUF X670E + 32gb of 6400mhz cl 32 = 1227 or 1307

9800x3d + B650 Tomahawk WIFI or TUF X670E + 32gb of 6400mhz cl 32 = 1305 or 1385

If possible could you please leave your advice and any recommendations below.