You have a GTX 1070 running on a I5-6500, is your monitor 60Hz or 144Hz? 4K resolution or 1080p?
your 60 FPS could be because of the amount of ram you have on your motherboard, 8 GB will perform less than 16 GB systems.
your comparing yourself to a YouTube video, your CPU is a 4/8 cores/threads, the i5-8400 is a 6/6 core/threads. so its performance may be better than yours yes.
but not only because of CPU but because the motherboard has more pcie lanes then previous generations (i.e. a z370 have 24 pcie lanes, z170 only have 16) which makes the video processing and ssd drives work better and faster then the previous generations.