As-Salaam alaykum,

Abu Hurairah, may Allah be pleased with him, narrated that he heard the Messenger of Allah, Sallallahu alaihi Wasallam, saying:--

"None of you shall be saved by his works." A man said, "Not even you, O Messenger
of Allah?"
He said: "Not even myself, unless Allah covers me with a Mercy from Him.
But strive to be right."
[Muslim]

This Noble Hadith restates the orthodox Islamic position, to the effect that no one deserves recompense or Paradise (Jannah) for his acts of obedience.

Some may quote Qur'anic verses, as in the words of Allah, Subhanahu Wa Ta'ala, such as:--

"Enter Paradise for that which you have done".(16:32).. and

"That is paradise, which you have been bestowed for what
you did before".(7:43)
and similar verses that indicate that paradise in entered by virtue of works.

These verses do not contradict above Hadith. Rather, they indicate that entering Paradise is because of works... good deeds... but Divine given Success (Tawfiq) to do the works, and their acceptability are the MERCY of Allah, Most High, and His favor.