There’s always more to be said on the subject, but u/commiespaceinvader has written excellent posts touching on this, such as:
Was anti-Jewish sentiments popular in the regular German Army, the Air Force, and the Navy? Or was it only a thing in the S.S?
How often did the regular German army (Werhmacht) commit war crimes during ww2?
Are there any records of Nazi soldiers being summarily executed for refusing to participate in war crimes?