Protein powder is fine if you get whey isolate and is a good ingredient for recipes or drinking straight. The issue with many whey powedwrs is whey concentrates which are often loaded with sugar and adulterants.
Don’t be scared of it but whole food is definitely ideal.