Matthew 7:18

A good tree cannot bear bad fruit, nor can a bad tree bear good fruit.

1 John 3:9-10

No one who is born of God [deliberately, knowingly, and habitually] practices sin, because God’s seed [His principle of life, the essence of His righteous character] remains [permanently] in him [who is born again—who is reborn from above—spiritually transformed, renewed, and set apart for His purpose]; and he [who is born again] cannot habitually [live a life characterized by] sin, because he is born of God and longs to please Him.

Galatians 5:17

For the sinful nature has its desire which is opposed to the Spirit, and the [desire of the] Spirit opposes the sinful nature; for these [two, the sinful nature and the Spirit] are in direct opposition to each other [continually in conflict], so that you [as believers] do not [always] do whatever [good things] you want to do.

Treasury of Scripture Knowledge

Summary

A good tree cannot bring forth evil fruit, neither can a corrupt tree bring forth good fruit.

General references

Bible References

Cannot

Galatians 5:17
For the sinful nature has its desire which is opposed to the Spirit, and the [desire of the] Spirit opposes the sinful nature; for these [two, the sinful nature and the Spirit] are in direct opposition to each other [continually in conflict], so that you [as believers] do not [always] do whatever [good things] you want to do.
1 John 3:9
No one who is born of God [deliberately, knowingly, and habitually] practices sin, because God’s seed [His principle of life, the essence of His righteous character] remains [permanently] in him [who is born again—who is reborn from above—spiritually transformed, renewed, and set apart for His purpose]; and he [who is born again] cannot habitually [live a life characterized by] sin, because he is born of God and longs to please Him.

General references

Luke 6:43
For there is no good tree which produces bad fruit, nor, on the other hand, a bad tree which produces good fruit.