Of course, there are exceptions to this. I'm also explicitly excluding here employers who outsource the technical challenge to a third party like leetcode.
It's shocking how many interviews I've done where the candidate can barely code anything unfortunately, so it is absolutely worthwhile.
I'm also ok with a take home challenge if the scope is small, the intent to hire me is clear, and it will take only a few hours to complete.
A 30-60 minute skills check is nbd, especially if it's used to understand how I approach problems.