fail DBT job if source refreshness fail

Hi,
Why does my dbt job succeeds when there is source freshness failure. The goal is fail the job and notify us if the source is not getting refreshed. How this can be achieved?

If you create a job step dbt source snapshot-freshness rather than using the selection in the job settings I believe it will fail as required.

That worked! Thank you.