The first known performance of the cantata was at
Störmthal, a village near Leipzig. The church there had been rebuilt, and a new organ been built on a commission by
Statz Friedrich von Fullen. The organ was an early work by
Zacharias Hildebrandt. Von Fullen requested an approval of the instrument from
Johann Sebastian Bach, who was then
Thomaskantor in Leipzig. Bach was satisfied and composed this cantata for the dedication service for the church and the organ on 2 November 1723. The text deals with the inauguration of the church. The organ has no solo function in the cantata. The cantata text was written by an anonymous poet, who took
Solomon's prayer for the dedication of the temple as a starting point to reflect the church as the house of God. Frequent Biblical references throughout the text suggest that the author was a theologian. Scholars such as
John Eliot Gardiner assume that Bach based the cantata on a lost work (), probably composed at
Köthen for an unknown occasion. The music of movements 2, 4, 6, 7, 8 and 10 is lost, and only instrumental parts of the other movements are extant. Bach added the chorales for the 1723 dedication service.
Höchsterwünschtes Freudenfest shows musical similarities also to
Preise, Jerusalem, den Herrn, BWV 119, written for the inauguration of the Leipzig town council a few weeks earlier. == Structure and scoring ==