John 14:15 ends with “But that the world may know that I love the Father; and as the Father gave me commandments, even so I do.” Because Jesus loved the Father, He kept His commandments.
It’s the same for us. If you love Jesus you keep His commandments; John 14:15, 21, and 23 declare it. Likewise, if you don’t keep His commandments, you don’t love Him.
Do you love Him?