Jesus was warning would be followers that hanging out with Him was not all that easy. Jesus was saying that home comforts are quite nice to have around. But these niceties would be severely lacking on the path He was on. Look at the full transcript in Matthew 8.20.
Matthew 5.43 & 44
And do not fear those who kill the body but cannot kill the soul. Rather fear him who can destroy both soul and body in hell.
A shoutout to Austin my son who made the face of this particular monster
This story comes to us from Matthew 17.
Isaiah 64.24 says "Before they call I will answer;
while they are yet speaking I will hear."
The story of the rich man wanting to know how to get to heaven is a well known story - and you can find it in Mark 10.17. Jesus goes on to say that it is easier for a camel to get through the eye of a needle, than for a rich man to get into heaven. This depressed His listeners. How could they ever get to heaven? This is when we get this great big but in verse 27.