1 John 3:22

22 and receive from him anything we ask, because we keep his commands and do what pleases him.

Read 1 John 3:22 Using Other Translations

And whatsoever we ask, we receive of him, because we keep his commandments, and do those things that are pleasing in his sight.
and whatever we ask we receive from him, because we keep his commandments and do what pleases him.
And we will receive from him whatever we ask because we obey him and do the things that please him.