Why does this SQL MERGE overwrite when it should not?

Why does this SQL MERGE overwrite when it should not. The SQL code uses MERGE with a WHEN MATCHED that always runs. In SQL the logic can overwrite rows you intended to skip. In SQL sync jobs this corrupts data.

#whatswrongwiththissqlquery #sqlbug #sqlproductionbug #sqldebugging #sqldatabase #sqlcodereview #sqlperformance #sqlreliability #sqlanalytics #sqldataintegrity #sqlengineering #sqlmerge...

https://www.youtube.com/watch?v=FzZuQz1s4oE

Why does this SQL MERGE overwrite when it should not? #sqloverwrite

YouTube