Rivalry between city states is what made them fight over each other so much. A way to get ahead of another city state was to make your state better than everyone else. Like in Florence Phillipo Brunelleschi was patronized to build a dome in Florence and when he succeeded they got ahead and all the other city states tried hard to become better so there city states got better as well.