Yes, they DO say the same thing. Hint: look at the context of the chapters 3-6.
Hebrews 3:16
King James Version (KJV)
16 For some, when they had heard, did provoke: howbeit not all that came out of Egypt by Moses.
Authorized (King James) Version (AKJV)
16 For some, when they had heard, did provoke: howbeit not all that came out of Egypt by Moses.
Authorized (King James) Version (AKJV)
1599 Geneva Bible (GNV)
16 For some when they heard, provoked him to anger: howbeit, not all that came out of Egypt by Moses.
English Standard Version (ESV)
16 For who were those who heard and yet rebelled? Was it not all those who left Egypt led by Moses?
New International Version (NIV)
16 Who were they who heard and rebelled? Were they not all those Moses led out of Egypt?
I told you the modern Bibles (including the NKJ) read differently.
2. You think that the ESV and NIV are saying the same thing as the KJB, AKJV and Geneva?
The ESV and NIV is saying that all who came out of Egypt rebelled.
The KJB, AKJB and Geneva are saying that not all who came out of Egypt rebelled (i.e. Jacob and Caleb)
You really need some reading lessons.