Telling a child that their actions have consequences, and then ensuring those consequences happen, is *exactly* how you teach someone to trust you. Because you meant what you said.
Never holding a child accountable for their actions, never challenging, never penalising them, is how you teach them that you, and other people are inconsequential, and they are untouchable. Which is a terrible lesson to teach, and one that bears bitter fruit in adulthood.