וַיִּזְבַּ֣ח שְׁלֹמֹ֗ה אֵ֣ת זֶ֣בַח הַשְּׁלָמִים֮ אֲשֶׁ֣ר זָבַ֣ח לַיהוָה֒ בָּקָ֗ר עֶשְׂרִ֤ים וּשְׁנַ֙יִם֙ אֶ֔לֶף וְצֹ֕אן מֵאָ֥ה וְעֶשְׂרִ֖ים אָ֑לֶף וַֽיַּחְנְכוּ֙ אֶת־בֵּ֣ית יְהוָ֔ה הַמֶּ֖לֶךְ וְכָל־בְּנֵ֥י יִשְׂרָאֵֽל׃
And Solomon offered for the sacrifice of peace-offerings, which he offered unto the LORD, two and twenty thousand oxen, and a hundred and twenty thousand sheep. So the king and all the children of Israel dedicated the house of the LORD.
Akeidat Yitzchak
When Solomon had his second vision, (Kings I, chapter 9) G'd refers to his prayers, not to the multitude of his offerings. This clearly indicates that the decisive element that prompted G'd to accept the prayers and grant the requests, was the mental attitude the prayers represented. Prayer complements the sacrificial service. It helps achieve closeness with G'd, which is the objective of sacrifice in the first place.