David and Solomon received knowledge and responded with praise.