Can you eat whole wheat bread or red meat when your starting a diet?

Idk considering it’s bread I thought it was bad to eat?