Whether it is a sin to tempt God?

Objections

Objection 1 : It would seem that it is not a sin to tempt God. For God has not commanded sin. Yet He has commanded men to try, which is the same as to tempt, Him: for it is written (Malach. 3:10): "Bring all the tithes into the storehouse, that there may be meat in My house; and try Me in this, saith the Lord, if I open not unto you the flood-gates of heaven." Therefore it seems not to be a sin to tempt God.
Objection 2 : Further, a man is tempted not only in order to test his knowledge and his power, but also to try his goodness or his will. Now it is lawful to test the divine goodness or will, for it is written (Ps. 33:9): "O taste and see that the Lord is sweet," and (Rm. 12:2): "That you may prove what is the good, and the acceptable, and the perfect will of God." Therefore it is not a sin to tempt God.
Objection 3 : Further, Scripture never blames a man for ceasing from sin, but rather for committing a sin. Now Achaz is blamed because when the Lord said: "Ask thee a sign of the Lord thy God," he replied: "I will not ask, and I will not tempt the Lord," and then it was said to him: "Is it a small thing for you to be grievous to men, that you are grievous to my God also?" (Is. 7:11-13). And we read of Abraham (Gn. 15:8) that he said to the Lord: "Whereby may I know that I shall possess it?" namely, the land which God had promised him. Again Gedeon asked God for a sign of the victory promised to him (Judges 6:36, sqq.). Yet they were not blamed for so doing. Therefore it is not a sin to tempt God.