Salvation does not come about from behavior.
.
You could not be more wrong.
Obedience is required; that is the point Yeshua made in Matthew 7:21-23, and that John makes in his entire first epistle.
Not just obedience, but willing obedience. Without that we have no “garment” for the wedding feast.
.