Let P denote the set of all primes. P1, P2, P3 are three subsets of P. Let δ(Pi) (i = 1, 2, 3) denote the lower density of Pi in P, respectively. It is proved that if δ(P1) > 5/8, δ(P2) ≥ 5/8, and δ(P3) ≥ 5/8, then for every sufficiently large odd integer n, there exist pi ∈ Pi such that n = p1 + p2 + p3. The condition is the best possible.