these views held sway throughout the middle ages and became even more important during the reformation of the 16th century when it inspired the doctrine of predestination put forth by protestant theologian john calvin .