#!/bin/bash

match="string_I_want_to_match"

read -r -d '' str_i_want_above <<- 'EOF'
I
Want
This
Above the match
EOF

sed "/$match/i \\
${str_i_want_above//$'\n'/\\$'\n'}
" <<< "$match"