In Sutta Pitaka->Anguttara Nikaya->Dasaka Nipatha-> Janussoni Sutta Buddha explains to Janussoni Brahamman how Sila effect on life(Jathi) and in Suttapitaka->Majjima Nikaya->DakkinaVibanga Sutta Buddha explains to Prajapathi Devi an Ananda Thero how Dana effects wealth.
"Idha Pana Brahammana ekachcha panathipatha patiwirato hothi, adinnadana pati wiratho hothi, kamesu michchachara patiwiratho hoti, musawada patiwiratho hoti, parusaya wachaya patiwirato hoti, sampappalapa patiwiratho hoti, anabijjalu hoti, awyaapana chitto hoti, sammadittiko hoti, so kayassa bedha parammarana manussanan sahawyathan uppajjati. Yo manussanan aharo tena so taththa yapethi." [Janussoni Sutta]
Translation : Brahammana, take someone who refrain from killing living creatures, stealing, committing sexual misconduct and doesn't use speech that’s false, divisive, harsh, or nonsensical and is not covetous, bears no ill will, and has right views. After death that person will born among humans and there he will eat human food.
As the Sutta explains further; the Sila is responsible of where one born, how he born and how he lives. If I explain further using many resources in Tripitaka; Based on the sila you practiced on previous lives and this life; your next life will be decided. If your sila had flows, those will effect on the next life. For an example, One may practice above mentioned sila and still he hurt an animal, that may effect on his next life. As a result of practicing the sila he might born as human. Yet, because of the flowed sila he will be born as disabled or later in life might become a disabled human. (Please mind that this is merely an example i used to explain. Kamma is not necessarily working in the way I mentioned). Sila is a Kamma that beneficial for a better life(Jathi).
As explained in Dakkina Vibanga Sutta, Dana/giving affect on persons wealth. Wealth can be categorized into several types. Wealth of money and goods. wealth of good health, wealth of people and followers, wealth of power and prosperous ,etc. Wealth is necessarily a result of Dana. There are 3 factors in dana that affect on wealth and prosperity. Giver, Recipient and the things you give. In Sutta Pitaka (I don't remember the exact sutta) it was mentioned about the things you can donate and should not donate. You should not donate liqueurs, weapons, sex, slaves, poison and anything that cause destruction of a person. That types of donations not considered as Dana and also it will affect badly on both doner and recipient. A purified donation will cause accordingly on receiving wealth and the amount of wealth one receives. It's mentioned in the Dakkina Vibanga Sutta how a donation can be purified and how a purified donation can be fruitful
- The donation is purified by the sila of giver, not the sila of recipient? It’s when the giver is ethical, of good character, but the recipient is unethical, of bad character. [this donation is only purified by the sila of giver. Therefore the result will be fruitful]
- The donation is purified by the sila of recipient, not the sila of giver? It’s when the giver is unethical, of bad character, but the recipient is ethical, of good character. [this donation is only purified by the sila of recipient. Therefore the result will be fruitful]
- The donation is purified by neither the sila of giver nor the sila of recipient? It’s when both the giver and the recipient are unethical, of bad character. [this donation is not purified by anyone. Therefore the result will not be fruitful as above two donations. But still effective and fruitful]
- The donation is purified by both the sila of giver and the sila of recipient? It’s when both the giver and the recipient are ethical, of good character. [this donation is purified by both. Therefore the result will be the most fruitful and effective.]
Keep in mind that even if you are a good person and donate more in this life and yet you experience pain, sicknesses, poverty; that's because you are experiencing the things you did in past lives not the things you do in this life. You born in this life because of the Kamma you did in past lives. You experience results of kamma you did in past lives. The effects of dana and sila you did in this life, you can experience as relief and peacefulness of mind and body. You will born in next life according to the kamma you did in this life. If youpracticed sila and dana in this life. next life will be healthy, wealthy and prosperous.
However Buddhism encourage to practice dana and sila not to wish a wealthy and prosperous life but for the sake of mastering giving up Tanha(Alobha) and ultimately going in the path of Nirwana.
*Please pardon my English