Fyodor Dostoyevsky said this quote

If God thought it necessary to offer rewards for love, your God must be immoral.