Peace be upon you. There is no necessary connection between the two matters. Just because something is virtuous does not mean it is permissible in prayer. For example, it is recommended to greet fellow believers, but if a person begins their prayer by greeting someone else, their prayer is invalidated. This does not imply that greeting is undesirable. Similarly, reciting the Quran is encouraged, but if a person recites the entire Quran during prayer, their prayer is also invalidated. May you be successful in all that is good.