The period in which his mother bore and weaned him lasted for thirty months . When he grew-up to manhood and became forty years old , he then said , " Lord , inspire me to give You thanks for the bounties you have granted to me and my parents , and to act righteously to please You .