The quest for virtue must begin with prayer. Prayer is the most necessary virtue to acquire.
Why should we pray?
If God knows our needs before even we know them, why do we need to pray?
"Your Father knows that you have need of all these things." (Matthew 6:32)
Since God was rejected by Adam in the Garden. To a certain extent, Adam shut God out of relationship with humanity; he chose it. The devil thought he had now won.
But there are other avenues God could still use, so that His relationship with Man would not die, chief among these is prayer.
"For we pray not that we may change the Divine disposition, but that we may impetrate that which God has disposed to be fulfilled by our prayers in other words
"that by asking, men may deserve to receive what Almighty God from eternity has disposed to give," as [St. Gregory the Great ] says (Dial. i, 8) "
(Summa Theologica, II-ii: Question 83--art. 2)