Father Chad Ripperger wrote a prayer consecrating the 2024 election to the Blessed Virgin Mary.
Here's the election consecration prayer:
Mary Immaculate, living tabernacle of the Divinity, where the eternal Wisdom lies hidden to be adored and served by angels and men, Queen of heaven and of earth, beneath whose sway are subject all things that are lower than God, Patroness of the United States of America, sorrowful and mindful of our own sinfulness and the sins of our nation, we come to Thee, our refuge and hope.
Knowing that our country cannot be saved by our own works and mindful of how much our nation has departed from the ways of Thy Son, we humbly ask that Thou wouldst turn Thine eyes upon our country to bring about its conversion.
We consecrate to Thee the integrity of the upcoming election and its outcome, so that what is spiritually and morally best for the citizens of our country may be accomplished, and that all of those who are elected would govern according to the spiritual and moral principles which will bring our nation into conformity with the teachings of Thy Son.
Give grace to the citizens of this land so that they will choose leaders according to the Sacred Heart of Thy Son, that His glory may be made manifest, lest we be given the leaders we deserve. Trusting in the providential care of God the Father and Thy maternal care, we have perfect confidence that Thou wilt take care of us and will not leave us forsaken.
O Mary Immaculate, pray for us. Amen.
Our Lady of the Rosary, please pray for the 2024 United States elections!