The meaning of a Hadith is:
The Messenger pbuh of Allah s.w.t said: “Nobody will go to Jannah on account of his good deeds/behavior but only those will be permitted to enter JANNAH whom Allah s.w.t may (WILL) cover with His mercy. The Sahabahs r.a. asked Hazoor (pbuh) you too he said yes I too.

However, Allah is very Merciful that can be inferred from following Ahadith copied from
20. Abu Sa`id Al-Khudri (May Allah be pleased with him) reported: Prophet of Allah (PBUH) said: “There was a man from among a nation before you who killed ninety-nine people and then made an inquiry about the most learned person on the earth. He was directed to a monk. He came to him and told him that he had killed ninety-nine people and asked him if there was any chance for his repentance to be accepted. He replied in the negative and the man killed him also completing one hundred. He then asked about the most learned man on earth. He was directed to a scholar. He told him that he had killed one hundred people and asked him if there was any chance for his repentance to be accepted. He replied in the affirmative and asked, `Who stands between you and repentance? Go to such and such land; there (you will find) people devoted to prayer and worship of Allah, join them in worship, and do not come back to your land because it is an evil place.’ So he went away and hardly had he covered half the distance when death overtook him; and there was a dispute between the angels of mercy and the angels of torment. The angels of mercy pleaded, ‘This man has come with a repenting heart to Allah,’ and the angels of punishment argued, ‘He never did a virtuous deed in his life.’ Then there appeared another angel in the form of a human being and the contending angels agreed to make him arbiter between them. He said, `Measure the distance between the two lands. He will be considered belonging to the land to which he is nearer.’ They measured and found him closer to the land (land of piety) where he intended to go, and so the angels of mercy collected his soul”.
[Al-Bukhari and Muslim].

In another version: “He was found to be nearer to the locality of the pious by a cubit and was thus included among them”. Another version says: “Allah commanded (the land which he wanted to leave) to move away and commanded the other land (his destination) to draw nearer and then He said: “Now measure the distance between them.’ It was found that he was nearer to his goal by a hand’s span and was thus forgiven”. It is also narrated that he drew closer by a slight movement on his chest.
1. One comes to know from this Hadith that the gate of Taubah is open even for the worst of the sinners; and Allah forgives everyone provided he repents sincerely, the conditions for such repentance have already been discussed.
2. It is the duty of a religious scholar that while discussing a problem, he should keep in mind the psychological aspects of the questioner and adopt a policy which neither causes a change in the Injunction of Allah nor make the sinner reckless in his sins out of frustration.
3. When a situation warrants, angels appear in the form of men on Orders of Allah.

126. Abu Hurairah (May Allah be pleased with him) reported: Messenger of Allah (PBUH) said, “While a man was walking on his way he became extremely thirsty. He found a well, he went down into it to drink water. Upon leaving it, he saw a dog that was panting out of thirst. His tongue was lolling out and he was eating moist earth from extreme thirst. The man thought to himself: `This dog is extremely thirsty as I was.’ So he descended into the well, filled up his leather sock with water, and holding it in his teeth, climbed up, and quenched the thirst of the dog. Allah appreciated his action and forgave his sins”. The Companions asked: “Shall we be rewarded for showing kindness to the animals also?” He (PBUH) said, “A reward is given in connection with every living creature”.
[Al-Bukhari and Muslim].

In the narration of Al-Bukhari, the Prophet (PBUH) is reported to have said: “Allah forgave him in appreciation of this act and admitted him to Jannah”.
Another narration says: “Once a dog was going round the well and was about to die out of thirst. A prostitute of Banu Israel happened to see it. So she took off her leather sock and lowered it into the well. She drew out some water and gave the dog to drink. She was forgiven on account of her action”.
1. This Hadith emphasizes the importance of kindness to every creature, even animals because Allah is pleased with such kindness.
2. Allah’s Quality of mercy and forgiveness is immensely vast. If He wants He may forgive a person even for a minor good action done by him.
127. Abu Hurairah (May Allah be pleased with him) reported: The Prophet (PBUH) said, “I saw a man going about in Jannah (and enjoying himself) as a reward for cutting from the middle of the road, a tree which was causing inconvenience to the Muslims”.

Another narration says: “A man who passed by a branch of a tree leaning over a road and decided to remove it, saying to himself, `By Allah! I will remove from the way of Muslims so that it would not harm them.’ On account of this, he was admitted to Jannah”.|

According to the narration in Al-Bukhari and Muslim: Messenger of Allah (PBUH) said, “While a man was walking, he saw a thorny branch on the road, so he removed it and Allah appreciated his action and forgave him”.
Commentary: The act of saving people from harm and loss is greatly liked by Allah, no matter how small it is. Allah is greatly pleased if a person removes from the passage something that causes harm to people. On the contrary, persons who restrict or obstruct passages and thereby create inconvenience for the passers-by, as is usually done with great audacity on marriage parties, or create trouble for people by encroachment, do in fact incur Allah’s displeasure. But our moral sense has been so blunted that rather than feeling any compunction, we do such things boastfully forgetting that `Truly, to Allah, we belong and truly, to Him we shall return.’ We have now become so low that we take pride in going against our religious teachings and practices thus incurring Allah’s displeasure. Is there any further stage of moral turpitude and revolt against Him?.

BUT we must note that Allah s.w.t has sent The Book: “al-Qur’an” and the Mighty Messenger pbuh as an example to show us how to act on this book.