The casino does not need to cheat to win. It simply pays a little less than the true odds on winning bets.
European roulette shows this clearly. The wheel has 37 pockets: the numbers 1 to 36 plus a single zero. A bet on one number pays 35 to 1, but the true odds are 36 to 1. Imagine you bet S$1 on every number in one spin. You stake S$37, one number wins, and you get back S$36 (S$35 winnings plus your S$1). You lose S$1 out of S$37, which is the 2.70% house edge. American roulette adds a second zero, giving 38 pockets with the same payouts, so the edge rises to 5.26%.
Baccarat works differently. The Banker hand wins slightly more often than the Player hand, so the casino takes a 5% commission on winning Banker bets. That commission is why the Banker bet still carries a 1.06% edge.