1 John 3:22

22 and we receive from him whatever we ask, because we obey his commandments and do what pleases him.

1 John 3:22 In-Context

20 whenever our hearts condemn us; for God is greater than our hearts, and he knows everything.
21 Beloved, if our hearts do not condemn us, we have boldness before God;
22 and we receive from him whatever we ask, because we obey his commandments and do what pleases him.
23 And this is his commandment, that we should believe in the name of his Son Jesus Christ and love one another, just as he has commanded us.
24 All who obey his commandments abide in him, and he abides in them. And by this we know that he abides in us, by the Spirit that he has given us.
New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.