When we lived in the country and had multiple bird feeders in back, unfortunately this was all too common. I put hawk and other stickers all over the windows in an attempt to dissuade them, but it didn't help much. Many of them did survive the initial crash and eventually flew away, but whether they ended up dying later, I don't know. It always made me sad to lose one.

Violet-green sparrows are very pretty. It was kind of you to try to save it, smilingcat.