When Samuel anointed David to be king, God had to tell him to look past appearances and look at the heart. Jesus had the same view.
In dealing with the disciples’ egos and any claims they had about being the greatest in heaven [other than God], Jesus said:
Matthew 18:3-4 I tell you the truth, unless you turn from your sins and become like little children, you will never get into the Kingdom of Heaven. So anyone who becomes as humble as this little child is the greatest in the Kingdom of Heaven.