Here Paul refers to a scripture where Christ (the Messiah) speaks to God. You can translate this in an active form. Alternate translation: "the Messiah said to God in the scriptures" (See: [[rc://en/ta/man/jit/figs-explicit]] and [[rc://en/ta/man/jit/figs-activepassive]])