Whether a person does good behavior or bad behavior depends on the length of his life  If he only had one day to live, it would be best for him to steal people's things, because he would not suffer the pain of fear of being caught
Only if you suffer from the pain of being caught, will you not steal other people's things.
 Stealing is not the best thing for someone who has 20 years left to live because he will suffer from the fear of being caught