Priests who live in community takes vows of poverty. I'm not sure all do, however.
You must differentiate between dogma, which is forever, and practice, which may change.
All are called to live a life of chastity (married people included); priests take a vow of celibacy. There's a difference.