other kingdoms and countries followed the same formula to one degree or another , collaborations and marriages were formed to the benefit of rulers and their wealth , all in the name of the wealth of the nation .