[SOLVED] are those compatible ?

Solution
The motherboard is for 8th gen CPUs and the one you linked is a 9th gen. To use 9th gen you currently have to have a Z370 motherboard. Or, if you stick with the 8th gen board get an i5-8400 or 8600K.

The RAM would be OK either way.
The motherboard is for 8th gen CPUs and the one you linked is a 9th gen. To use 9th gen you currently have to have a Z370 motherboard. Or, if you stick with the 8th gen board get an i5-8400 or 8600K.

The RAM would be OK either way.
__
https://www.newegg.com/global/sa-en/Product/Product.aspx?item=N82E16813145095
____
https://www.newegg.com/global/sa-en/Product/Product.aspx?Item=N82E16813157866
____
and what do you recommend me to do ?
change motherboard and stick to this cpu ?
or stick to old motherboard and use i5-8400 cpu ?