Sorry to say, do not buy as is.
The 13400 as a processor is excellent.
The 3060 gpu is ok also.
But, only 8gb will make the pc all but unuseable.
2 x 8gb at least. 32gb is better.
The 13400 processor can run a very much stronger graphics card in the future.
A no name 500w psu will be no good for that.
And, the quality of the psu is unknown.
A 256gb ssd is terrible.
A couple of games will fill it up and performance and endurance will suffer as it reached 90% full. 1tb at least.
HP motherboards are proprietary and not designed for any upgrades.
Look at Lenovo for a decent pre built pc.