Let us use the Wu Xing principle to understand the saying:
The translation is:
(3) Feng Shui
(4) Accumulation of hidden virtuous deeds
(5) Study books
The five element assignment is:
If you know the five element properties, you will see how aptly they can be integrated into the saying. You will also note that they are in the generating cycle beginning with Earth - the basics.