You can use jsonb_object_keys() and ANY like so:
select 1
from jsonb_object_keys(t.js) o(x)
where not x = ANY(ar)
Here is how to use this in a query:
with t as (
select '{"a":1, "b":2, "c":3}'::jsonb js, array['a', 'b', 'c'] ar
union all select '{"a":1, "b":2, "z":3}'::jsonb js, array['a', 'b'] ar
)
select
js,
ar,
not exists(
select 1
from jsonb_object_keys(t.js) o(x)
where not x = ANY(ar)
) res
from t
Yields:
js | ar | res
:----------------------- | :------ | :-----
{"a": 1, "b": 2, "c": 3} | {a,b,c} | true
{"a": 1, "b": 2, "z": 3} | {a,b} | false