What is your most important usage?
For most games, the single thread/turbo clock rate is most important. Few games can make use of more than 2-3 threads.
If your games are multiplayer with many participants, then many threads are important.
For editing, many apps can make use of multiple threads. Check on YOUR editing app to see how many threads it can use.
Worth is something only YOU can determine.
No doubt a of the two choices, the I7-7700 will be stronger both in single thread core speeds(3.8/4.5) vs (3.6/4.2) for the i5-7600. Therefore, it will be more "future proof"
You might consider the i7-7700K (4.2/4.5) which runs at near overclocked levels at stock.
If you will consider overclocking, and have a Z270 based motherboard, either will generally oc near 5.0.
Ryzen is a viable option if your most important use is editing AND you can use north of 8 threads.
Ryzen 1700 is $350 and runs at 3.4/3.8 Ryzen OC limit is around 3.9 and the individual core performance is a bit less than intel on a clock for clock basis.
Ryzen is good, I think, ONLY if you know you can use many threads. Think 8-16.
For many