1 verses of the American Standard Version have both "knew" and "scripture".
John 20:9 For as yet they knew not the scripture, that he must rise again from the dead.
In other translations: KJV Webster DRC Geneva