1 John 3:22

20 Even if our hearts condemn us, God is greater than our hearts, and He knows all things.

21 Beloved, if our hearts do not condemn us, we have confidence before God,

and we will receive from Him whatever we ask, because we keep His commandments and do what is pleasing in His sight.

23 And this is His commandment: that we should believe in the name of His Son, Jesus Christ, and we should love one another just as He commanded us.

24 Whoever keeps His commandments remains in God, and God in him. And by this we know that He remains in us: by the Spirit He has given us.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
and we will receive from Him whatever we ask, because we keep His commandments and do what is pleasing in His sight.
KJV
And whatsoever we ask, we receive of him, because we keep his commandments, and do those things that are pleasing in his sight.
WEB
so whatever we ask, we receive from him, because we keep his commandments and do the things that are pleasing in his sight.
ASV
and whatsoever we ask we receive of him, because we keep his commandments and do the things that are pleasing in his sight.
DARBY
and whatsoever we ask we receive from him, because we keep his commandments, and practise the things which are pleasing in his sight.
BLB
and whatever we may ask, we receive from Him, because we keep His commandments and we do the things pleasing before Him.
ÅB
og det vi ber om, det får vi av ham; for vi holder hans bud og gjør det som er ham til behag.
OTB
og hva vi enn ber om, mottar vi fra Ham, fordi vi følger Hans bud og gjør det som er til behag for Ham.
B1930
og det vi beder om, det får vi av ham; for vi holder hans bud og gjør det som er ham til behag.

Study notes (Tyndale)

Original text and word study

Cross references