Philippians 4:8-10 says
8 Finally, brothers and sisters, whatever is true, whatever is noble, whatever is right, whatever is pure, whatever is lovely, whatever is admirable—if anything is excellent or praiseworthy—think about such things. 9 Whatever you have learned or received or heard from me...