How long do you plan on owning this machine. do you think there's a possibility you would become interested in video editing, photography, machine learning, scientific tasks, CAD, virtual machines in the next 5 years?
When I bought my 2013 MacBook Pro with the Core i7, it was an extra $250. I didn't need the i7 over the i5 then. i wasn't editing 4K video or processing RAW images in Lightroom but around 2015 I started to and the machine held me over well to this day and I just bought the i9 MacBook Pro but the 2013 was still happily chugging along just at a slower pace give how my workload has changed. I'd say the SSD size is most important for most people unless you work entirely in the cloud then RAM and finally CPU.