As the case may be
Everything needs to be understood in its context. It depends on what subject is being discussed.
("I am the God of Shaddai - I am the one who is equal in my divinity to all creation, according to you walk before me and I will be your God and your protector, and therefore every place that is in the book of the interpretation is equal to him, and everything according to the matter" -Rashid in Genesis 17:1, and thus: "And the matter of nobility is mentioned in the writings and in the words of the wise in the names "They change and everything according to the matter" - Rabbi B'Hayyah in the Desert (17)
Translation
Expression (Hebrew)
הַכֹּל לְפִי הָעִנְיָן
Definition (Hebrew)
הַכֹּל צָרִיךְ לִהְיוֹת מוּבָן עַל פִּי הַהֶקְשֵׁר שֶׁלּוֹ. תָּלוּי בְּאֵיזֶה עִנְיָן מְדֻבָּר.
("אֲנִי אֶל שַׁדַּי- אֲנִי הוּא שֶׁיֵּשׁ דַּי בֶּאֱלֹהוּתִי לְכָל בְּרִיָּה, לְפִיכָךְ הִתְהַלֵּךְ לְפָנַי וְאֶהְיֶה לְךָ לֶאֱלוֹהַּ ולְפַטְרוֹן, וְכֵן כָּל מָקוֹם שֶׁהוּא בַּמִּקְרָא פֵּרוּשׁוֹ דַּי יֵשׁ לוֹ, וְהַכֹּל לְפִי הָעִנְיָן"-רָשִׁ"י בְּרֵאשִׁית יז א ,וְכֵן:"וְעִנְיַן הָאֲצִילוּת נִזְכַּר בַּכְּתוּבִים וּבְדִבְרֵי חֲכָמִים בְּשֵׁמוֹת מִתְחַלְּפִים וְהַכֹּל לְפִי הָעִנְיָן"- רַבֵּנוּ בְּחַיֵּי בַּמִּדְבָּר יָא יז)