Acts 8:21

You do not have any share or involvement in this matter because your heart is not right before God.

James 1:8

because he is double-minded and undecided in all that he does [i.e., he cannot make up his mind and follow through about anything].

James 4:8

Come close to God and He will come close to you. Wash your hands, you sinful people [i.e., this is an exhortation to repent of moral and spiritual corruption], and purify your hearts, you double-minded people.

Treasury of Scripture Knowledge

Summary

And he did that which was right in the sight of the LORD, but not with a perfect heart.

Bible References

But not

Acts 8:21
You do not have any share or involvement in this matter because your heart is not right before God.
James 1:8
because he is double-minded and undecided in all that he does [i.e., he cannot make up his mind and follow through about anything].
James 4:8
Come close to God and He will come close to you. Wash your hands, you sinful people [i.e., this is an exhortation to repent of moral and spiritual corruption], and purify your hearts, you double-minded people.