Amen! Believers "keep" (Greek word "tereo" - guard, observe, watch over) the commandments BECAUSE we know Him and not in order to know Him. 1 John 2:3 - By this we know that we have come to know Him, (already know Him/already saved/demonstrative evidence) if we "keep" (Greek word "tereo" - guard, observe, watch over) His commandments. (This is descriptive of genuine believers) 4 The one who says, “I have come to know Him,” and does not keep (guard, observe, watch over) His commandments, is a liar, and the truth is not in him. (That is descriptive of unbelievers)Knowing Jesus isn't keeping the commandments. Knowing Jesus is about experiencing the reality of Him living in and through you. Keeping the commandments is one of many evidences that this is so..
Strong's Greek: 5083. τηρέω (téreó) -- to watch over, to guard (biblehub.com)
John 17:3 - And this is eternal life, that they may know You, the only true God, and Jesus Christ whom You have sent (which is an intimate, experiential knowledge, found only in a relationship). The term "know" implies intimate, experiential knowledge, through a relationship with Him and not merely theoretical knowledge.