where did you get that spy is yielding 5.2%? from dec. 2018-dec.2019, the total dividend of spy is 5.2 dollars, divided that by 300/share of spy, 5.2/300=1.7%, slightly lower than interest rate.
Probably including cap gains
Earning yield on 19.2 ish forward pe. Div is irrelevant