וַיִּזְבַּ֣ח שְׁלֹמֹ֗ה אֵ֣ת זֶ֣בַח הַשְּׁלָמִים֮ אֲשֶׁ֣ר זָבַ֣ח לַיהוָה֒ בָּקָ֗ר עֶשְׂרִ֤ים וּשְׁנַ֙יִם֙ אֶ֔לֶף וְצֹ֕אן מֵאָ֥ה וְעֶשְׂרִ֖ים אָ֑לֶף וַֽיַּחְנְכוּ֙ אֶת־בֵּ֣ית יְהוָ֔ה הַמֶּ֖לֶךְ וְכָל־בְּנֵ֥י יִשְׂרָאֵֽל׃
Y sacrificó Salomón por sacrificios pacíficos, los cuales ofreció á SEÑOR veinte y dos mil bueyes, y ciento veinte mil ovejas. Así dedicaron el rey y todos los hijos de Israel la casa de SEÑOR.
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.