Righteousness comes from Taqwa : Tafseer Ibn Kathir

Tafseer Ibn Kathir – Surah A-Baqarah (2:189)

Allah said:

(It is not Al-Birr (piety, righteousness, etc.) that you enter the houses from the back, but Al-Birr is from Taqwa. So enter houses through their proper doors.)

Al-Bukhari recorded that Al-Bara’ said, “During the time of Jahiliyyah, they used to enter the house from the back upon assuming the Ihram. Thereafter, Allah revealed (the following Ayah):

(It is not Al-Birr (piety, righteousness, etc.) that you enter the houses from the back but Al-Birr is from Taqwa. So enter houses through their proper doors.)

Abu Dawud At-Tayalisi recorded the same Hadith from Al-Bara’ but with the wording; “The Ansar used to enter their houses from the back when returning from a journey. Thereafter, this Ayah (2:189 above) was revealed…”

Al-Hasan said, “When some people during the time of Jahiliyyah would leave home to travel, and then decide not to travel, they would not enter the house from its door. Rather, they would climb over the back wall. Allah the Exalted said:

(It is not Al-Birr (piety, righteousness) that you enter the houses from the back,).”

Allah’s statement:
(…and have Taqwa of Allah that you may be successful.) Have Taqwa of Allah, means to do what He has commanded you and refrain from what He has forbidden for you,

(that you may be successful.) tomorrow when you stand before Him and He thus rewards you perfectly.