If what you believe isn’t fluid and changing with greater awareness and insight, then you’ve put God (who cannot be put into a box) into your own doctrinal box.
The Sermon on the Mount, and all its commands, weren’t given so you’d try to obey them. Jesus said what He did to create despair in His hearers so they’d stop trying (and failing).
It is His unconditional love, agape, that delivers us from the lies of the false self or flesh that keep us in a rut of defeat, trying harder and then failing again, while feeling despair and a sense of condemnation in the process.
Somehow, we feel we must control the future, so that things work out based on a predetermined outcome. But that is not reality. Control of circumstances, people and God is a myth. We can only control our choice in the moment if we focus on the moment.
There’s not a person on this planet who doesn’t need unconditional acceptance—the sense that I am accepted for who I am, for what I am, and for simply being me.