אמרי נועם · ברכות ו ע״ב
מַאי טַעְמָא מִשּׁוּם דְּהָוֵי לֵיהּ לִבְטוֹחַ בַּה׳ וְלֹא בָּטַח. פי׳ אוּלַי תֹּאמַר שֶׁהָלַךְ לְפַרְנָסָתוֹ שֶׁגַּם זֶה נִקְרָא מִצְוָה. זֶה אֵינוֹ שֶׁבִּזְמַן הַתְּפִלָּה לֹא הָוֵי מִצְוָה דְּהָא צָרִיךְ לֵילֵךְ לְהִתְפַּלֵּל שֶׁיִּתֵּן לוֹ הקב״ה פַּרְנָסָתוֹ וְהוּא לֹא הָלַךְ לְהִתְפַּלֵּל א״כ לֹא בָּטַח בַּה׳:
Imrei No'am · Berachos 6b
One who went for his livelihood at the time of tefillah has not done a mitzvah: he should have gone to pray for his livelihood, and so he did not trust in Hashem
What is the reason? Because he should have trusted in Hashem, and did not trust. That is: perhaps you will say that he went for his livelihood, which is also called a mitzvah. That is not so: at the time of tefillah it is not a mitzvah, for he should have gone to pray that HaKadosh Baruch Hu give him his livelihood; and he did not go to pray, so he did not trust in Hashem.