You’re joking - right? That quote has NOTHING to do about wealth.
“Blessed are the poor in spirit, for theirs is the kingdom of heaven.” (Matthew 5:3)
The poor man did not follow Christ when asked to give up his wealth and follow Him
Look in the Mirror