I once read a book where this particular bathroom appliance was very intimately connected with prostitutes throughout history and that association created a big push against having it in every house. It was an interesting read.
In my country in particular, it became mandatory in every newly built house starting around the 50s and later it became mandatory to have one bidet and one bathtub in every house.
This was pushed to enforce a notion of hygiene that was lacking, as the country was very poor at the time. Paradoxically, it was easier to have higher standards of hygiene in the country, where access to water was easier and the field labour demanded a minimal cleanliness to be at the table and socially than in the growing cities, where poor living conditions made very difficult for the poor to access running water.