They simply know when to stop when that's no longer play high on. That's 6 to 4, or 2 to in your favor for the immediate win versus a direct loss.
Each game has unique house edge percentage, and each type of bet have their winning probability percentage. https://adchiase.com/ban-ca-online-an-tien-that-thu-van-may-va-doi-doi/