That's when it's appropriate to rage on them, to inflict some small degree of emotional pain on the recruiter or HM or whoever falsely got you to waste your time, both as a little bit of selfish satisfaction and also to hopefully make it better for the next person. Then trash them on social media if you have a following. Maybe send them an invoice for your time. They won't pay it but it might be a fun thing to do.