The view of "you reap what you sow" in Proverbs is not upheld by Qohelet, who is thoroughly realistic in his view of the world and humanity, saying that "the same fate awaits everyone" (Eccl 9:3). See what Qohelet says in Eccl 9:2-3:
Everything is the same for everyone. The same fate awaits the righteous and the wicked, the good and the bad, the pure and the impure, those who sacrifice and those who don’t sacrifice. The good person is like the wrongdoer; the same holds for those who make solemn pledges and those who are afraid to swear. This is the sad thing about all that happens under the sun: the same fate awaits everyone. Moreover, the human heart is full of evil; people’s minds are full of madness while they are alive, and afterward they die (Common English Bible).