We know that we have come to know him if we keep his commands.
OJBAnd by this we have da'as that we have da'as of Him, if over the mitzvot of Him we are shomer.
RVAnd hereby know we that we know him, if we keep his commandments.
TCENTBy this we can be sure that we know him: if we keep his commandments.
T4TI will tell you how we can be sure that we ◄know/have a close relationship with► God. If we obey what he commands us to do, that shows us that we have a close relationship with him. So we must always obey what he commands us to do.