The Whole Duty of a Man is to Keep Gods Laws:

“Let us hear the conclusion of the whole matter: Fear God, and keep his commandments: for this is the whole duty of man.” Ecclesiastes 12:13KJV

We will be “Blessed” when we keep Gods Laws:

“And it shall come to pass, if thou shalt hearken diligently unto the voice of the LORD thy God, to observe and to do all his commandments which I command thee this day, that the LORD thy God will set thee on high above all nations of the earth:” Deuteronomy28:1KJV