Your question is too broad for anyone to give you a good specific answer. It depends on your database, number of users, frequently running queries and more.
For example, if you have plenty of long running queries then you should probably focus on higher number of cores.
Another thing I'd take into consideration is storage. What kind of storage options do you have? Is it local SATA, SAS, SSD or some kind of network storage?
Anyway, pls provide more info if you want a better answer.