Question: is ryzen 5 better than i5?
Answer: The cheaper Ryzen 5 2600X is by far and away the best option and in some tests even massively overclocking the Core i5-9600K failed to better the AMD CPU with the latter even matching the Core i7-8700K in Cinebench - a CPU which has the same number of cores and threads and costs even more than the Core i5-9600K.