1 Timothy 5:4

But if a widow has children or grandchildren, they must first learn to show godliness to their own family and repay their parents, for this is pleasing in the sight of God.
BSB · Berean Standard Bible
But if any widow have children or nephews, let them learn first to shew piety at home, and to requite their parents: for that is good and acceptable before God.
KJV · King James Version
But if any widow has children or grandchildren, let them learn first to show piety toward their own family and to repay their parents, for this is acceptable in the sight of God.

Note TR adds “good and”

WEB · World English Bible
But if any widow hath children or grandchildren, let them learn first to show piety towards their own family, and to requite their parents: for this is acceptable in the sight of God.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

nephews
Judges 12:14; Job 18:19; Isaiah 14:22
learn
1 Samuel 22:3, 4; Proverbs 31:28; Luke 2:51; John 19:26, 27
piety
or, kindness.
Matthew 15:4–6; Mark 7:11–13
to requite
Genesis 45:10, 11; Genesis 47:12, 28; Ruth 2:2, 18; Ephesians 6:1–3
good
1 Timothy 2:3