Not really related, but maybe the same technique could help you:
I had a woodpecker doing a number to the side of our house. I looked into various ideas (and learned that killing it would be illegal, if I even had a way of doing so that wouldn’t involve putting even bigger holes into the siding), including an overpriced device that plays owl sounds.
Something that plays nothing but owl sounds seemed like a waste, but it gave me an idea: use a Bluetooth speaker to play owl sounds I found on YouTube.
It worked! I’d leave the speaker out for 4-6 hours per day, for several days in a row so the woodpecker wouldn’t come back. After no more than a week of doing this, I’d stop putting the speaker out, and the woodpecker wouldn’t return for several months. When it did, I’d just put the speaker out for another few days, and it’d be gone again.
This has worked for me for about two years, and I’ve only had to put the speaker out for three or four stretches.
Are cardinals afraid of owls? Maybe it’s time to find out.