Gospel Standards, pg. 36; “If we keep the commandments of God, He will love us, and the Savior will manifest Himself unto us. If we fail to keep the commandments of God, there is no promise made to us. The Savior said: “Not every one that saith unto me Lord, Lord, shall enter into the kingdom of heaven; but he that doeth the will of my Father, which is in heaven.” It is the keeping of the commandments of God that causes men to grow and to become strong and powerful in the Church and Kingdom of God.—CR, October, 1900: 36.”
John 4:24; “God is a Spirit: and they that worship him must worship him in spirit and in truth.”
God loves us even when we break a commandment – that’s why He sent His Son Jesus! Promises from God are unconditional. Some of His covenants did have conditions but not promises.