This is the most popular way to play, but not the only one: players can play limit (they bet a set amount, and there are only so many raises allowed during each round of betting) and pot-limit (the maximum allowable bet is to match the number of chips already in the pot).
Texas Hold'em is usually no-limit: at any moment, a player can bet all of their chips. But Texas Hold'em is also an incredibly popular cash game: players buy as many chips as they have cash, and come and go as they please. Texas Hold'em is a popular tournament game. In tournaments, every player is given the same number of chips, and they play until one player wins them all.