I'm plannign to buy a 4 years old CPU bundle.. is it worth it?

A guy in my circle is selling a 10th gen build (its an i7) with the MSI Z490-A PRO board and some other 16GB RAM.. should I go for it?