Yes, but the ruler’s reaction as opposed to that of Zacheus does not change the fact that Jesus made an honest offer: “come follow me.”
I don’t believe Jesus would feign an offer.
And, even when I say “I love my dog.” I still mean that I have regard for the “poor thing” as it lays on my couch watching Fox and Friends at this moment, eating free, getting free heat, shelter, health care, and entertainment.
:>)
or
You (don't eat the fruit) and (I'll) make sure you live.
And we shouldn't be too hard on the ruler. Can any of us keep the commandments? That is why we need grace.