There is a law, irrevocably decreed in heaven before the foundations of this world, upon which all blessings are predicated—and when we obtain any blessing from God, it is by obedience to that law upon which it is predicated.
I understand the premise behind it: the Lord blesses us when we are obedient. It makes sense. We mortals seem to be motivated by reward and recognition and this setup acknowledges that.
I wonder though if Joseph Smith is speaking literally in this regard. When he says "any blessing", does he truly mean any blessing> Does he truly mean that we receive blessings only because we are obedient to laws to which those blessings are attached? Does he truly mean that God never blesses us simply because He loves us and wants to express that love in beneficence?