Gratitude impels us to obey God. In John 14:21, the Lord says, "He that hath my commandments, and keepeth them, he it is that loveth me: and he that loveth me shall be loved of my Father, and I will love him, and will manifest myself unto him. " The grateful person understands very well that his duty is to obey the Lord. In doing so he is demonstrating his love.