How do you know that?
It is hard to believe this is a serious question from you
Read the old testament, read Moses words, all the commands and ways to live a righteous life, the Psalms, David’s words ...etc., etc.,
Read Jesus commands. Why else did Jesus say many will come and ask open the door and I will say I never knew you.
Any sentence that says do this /the whole Bible tells us how to please God and what He says to do, and not to do..
Adam and Eve knew not to eat the fruit of the tree of the knowledge of good and evil ... and the ate it anyway.
...
Matthew 7:23
New American Standard Bible (©1995)
“And then I will declare to them, ‘I never knew you; DEPART FROM ME, YOU WHO PRACTICE LAWLESSNESS.’
We all have to do our own work and study of the Scriptures. See for yourself .. do not simply take others opinion; and do not study paraphrased translations. Get a sound translation