Is simply believing that Jesus is who He says he is enough to enter the kingdom of heaven? Does “knowing” also require “doing?” As alway, what does the scripture say, and what does it mean?

Scripture: Matthew 7.21-23
Is simply believing that Jesus is who He says he is enough to enter the kingdom of heaven? Does “knowing” also require “doing?” As alway, what does the scripture say, and what does it mean?